[Lazarus] PageConrol does not have a property when compiling

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Jan 3 00:43:56 CET 2011


2011/1/2 ik <idokan at gmail.com>:
> I'm trying to build Lazarus 0.9.31 r23597:28822M FPC 2.4.2 x86_64-linux-gtk
> 2
> and I have problem at this code (/synunihighlighter/synunidesigner.pas):
>
>   {$IFDEF SYN_LAZARUS}
>   PageControl.ShowTabs:=false;
>   {$ENDIF}
>
> It looks like that ShowTabs does not exists for the TNotebook component for
> some reason.

If you have something like:

PageControl: TNotebook;

It is pretty obvious that the code is broken. It should be:

PageControl: TPageControl;

I fixed TNotebook, so obviously any code which depended on the old
wrong behavior is broken.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list