[Lazarus] Hint at statusbar.
Henrique Faria
henrique_faria at msn.com
Thu Oct 30 23:59:36 CET 2008
Thankyou, works fine.Henrique.
> Date: Thu, 30 Oct 2008 23:10:04 +0200> From: graemeg.lists at gmail.com> To: lazarus at lazarus.freepascal.org> Subject: Re: [Lazarus] Hint at statusbar.> > 2008/10/30 Henrique Faria <henrique_faria at msn.com>:> >> > I have this piece of code that shows the hint at statusbar on Delphi:> > I take it you are using compiler mode "objfpc" which is the default> compiler mode Lazarus specifies in units? Second line from the top in> a new unit.> > > > procedure TFormPrincipal.FormCreate(Sender: TObject);> > begin> > Application.OnHint:= AppHint;> > end;> > In that case change the above line to> > Application.OnHint:= @AppHint;> > And it should be fixed. Alternatively you can switch to the "delphi"> compiler mode, but I would stick to the "objfpc" if I was you. It's a> bit more strict, but makes for more correct code. [my personal> opinion]> > > Regards,> - Graeme -> > > _______________________________________________> fpGUI - a cross-platform Free Pascal GUI toolkit> http://opensoft.homeip.net/fpgui/> _______________________________________________> Lazarus mailing list> Lazarus at lazarus.freepascal.org> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
_________________________________________________________________
Instale a Barra de Ferramentas com Desktop Search e ganhe EMOTICONS para o Messenger! É GRÁTIS!
http://www.msn.com.br/emoticonpack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081030/f559cca6/attachment-0007.html>
More information about the Lazarus
mailing list