[Lazarus] PageControl tabs not showing

luiz americo pereira camara luizmed at oi.com.br
Mon Jan 19 18:43:59 CET 2015


2015-01-19 14:21 GMT-03:00 Werner Pamler <werner.pamler at freenet.de>:

> Thanks Luiz. Unfortunately, after I removed "Loaded" and added a new
> method "InitializeWnd" containing the "NewWorksheet" call there is no
> improvement. Your answer, however, guided me to the "Setup" method in which
> the column and rows are prepared. At its beginning I added an "if csLoading
> in ComponentState then exit" - and now the issue is gone even with the old
> "Loaded" in place.
>
>
Good you got the tip.

I hope the other control get fixed also.

A more precise way to know what is forcing the Handle creation is add an
override of CreateHandle method and put a breakpoint there. Than follow the
callstack.

Luiz



> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150119/bf9868a7/attachment-0003.html>


More information about the Lazarus mailing list