T
Tomorrows
Unregistered / Unconfirmed
GUEST, unregistred user!
我用的代码和不合理:
application.onhint:=displayhint;
procedure TForm1.Displayhint(Sender: TObject);
begin
statusbar1.SimpleText:=application.hint;
if application.Hint='' then statusbar1.SimpleText:='Copyright';
end;
没有hint的时候就始终显示Copyright
application.onhint:=displayhint;
procedure TForm1.Displayhint(Sender: TObject);
begin
statusbar1.SimpleText:=application.hint;
if application.Hint='' then statusbar1.SimpleText:='Copyright';
end;
没有hint的时候就始终显示Copyright