[lazarus] Notebk example
Mattias Gaertner
nc-gaertnma at netcologne.de
Fri Jul 25 04:24:20 EDT 2003
On Fri, 25 Jul 2003 10:32:02 +0200
Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
> Hi,
>
> The Notebk example now works correctly
> on my machine with the exception
> did I had to change Width,Height initialization in the example. The
> example uses Parent.{Width|Height} but these are 0 in win32. Is this the
> case also with GTK? (It causes the nested notebook to disappear.)
Yep. Fixed.
> I guess not...but seen the fact that no window handles are made yet, the
> interface hasn't done very much yet. Could someone check my statements
> here?
I also tried notebooktest.pp and got an AV. The reason was the {$mode
delphi}. It seems there is a compiler bug. I changed it to {$mode
objfpc}{$h+} and added the @ for the events. Then the example runs fine.
Mattias
More information about the Lazarus
mailing list