[Lazarus] PAge Control Problem in a WinCE

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sun Oct 9 15:02:07 CEST 2011

Vincent Snijders schrieb:
> 2011/10/9 Tommi Prami <groups.tprami at gmail.com>:
>> Bugreport at :
>>  http://bugs.freepascal.org/view.php?id=20442
> If you use lazarus 0.9.31 from trunk, then read
> http://wiki.lazarus.freepascal.org/Lazarus_0.99.0_release_notes#TCustomPageControl.2FTPageControl.OnPageChanged_were_removed
> That page contains breaking changes, so read that before submitting a
> bug report.

IMO the recent rename was bad, because the current TCustomTabControl is 
implemented as a TPageControl, incompatible with a (Delphi) TTabControl. 
I had hoped that the widgetset interface would allow to implement simple 
tabbed controls (without pages), and derive paged controls in the LCL, 
but nothing happened in that direction :-(

Most ComCtrls suffer from the duplicate storage of the items, in the 
widgets and in the controls. I'd be happy with the way how Delphi 
manages all items, using a *temporary* item list *only* while no widget 
exists - i.e. when such a control is loaded from a resource, or when it 
must be recreated later. On nowadays machines it will do no harm to 
refer to the properties stored in the widgets, which will be up-to-date 
and consistent all the time.


More information about the Lazarus mailing list