Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-07

Notebk example

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Micha Nelissen: The Notebk example now works correctly on my machine with the exception did I had to…
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

Reply by email

Micha Nelissen

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.) 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?

Thanks,

Micha.

Reply by email