<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Thankyou, works fine.<BR><BR>Henrique.<BR>
<BR><BR> <BR>
<HR id=stopSpelling>
<BR>
> Date: Thu, 30 Oct 2008 23:10:04 +0200<BR>> From: graemeg.lists@gmail.com<BR>> To: lazarus@lazarus.freepascal.org<BR>> Subject: Re: [Lazarus] Hint at statusbar.<BR>> <BR>> 2008/10/30 Henrique Faria <henrique_faria@msn.com>:<BR>> ><BR>> > I have this piece of code that shows the hint at statusbar on Delphi:<BR>> <BR>> I take it you are using compiler mode "objfpc" which is the default<BR>> compiler mode Lazarus specifies in units? Second line from the top in<BR>> a new unit.<BR>> <BR>> <BR>> > procedure TFormPrincipal.FormCreate(Sender: TObject);<BR>> > begin<BR>> > Application.OnHint:= AppHint;<BR>> > end;<BR>> <BR>> In that case change the above line to<BR>> <BR>> Application.OnHint:= @AppHint;<BR>> <BR>> And it should be fixed. Alternatively you can switch to the "delphi"<BR>> compiler mode, but I would stick to the "objfpc" if I was you. It's a<BR>> bit more strict, but makes for more correct code. [my personal<BR>> opinion]<BR>> <BR>> <BR>> Regards,<BR>> - Graeme -<BR>> <BR>> <BR>> _______________________________________________<BR>> fpGUI - a cross-platform Free Pascal GUI toolkit<BR>> http://opensoft.homeip.net/fpgui/<BR>> _______________________________________________<BR>> Lazarus mailing list<BR>> Lazarus@lazarus.freepascal.org<BR>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus<BR><BR><br /><hr />Veja mapas e encontre as melhores rotas para fugir do trânsito com o Live Search Maps! <a href='http://www.livemaps.com.br/index.aspx?tr=true' target='_new'>Experimente já!</a></body>
</html>