2015-01-19 14:21 GMT-03:00 Werner Pamler <[email protected]>: > 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 > [email protected] > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
