Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Status bar

edited February 2002 in General
Put a status bar on a form that had a ppReport1 component.

In formCreate:
Application.OnHint := DisplayHint;

procedure TReportForm1.DisplayHint(Sender: TObject);
begin
StatusBar1.Panels[0].text:= GetShortHint(Application.Hint)
end;

Click on a menu. List index out of bounds. I remove this code, and click
on a menu. Now the hint is displayed on the status bar of the main form.

What is going on?

Comments

This discussion has been closed.