Hi,
I have own control TMyPanel which inherit from TCustomControl instead of TCustomPanel (because I don't want add ExtCtrls unit). My panel has the same flags and options like TCustomPanel, but Autosize doesn't work like in normal panel. My panel don't account child controls and I can't find code responsible for that in TCustomPanel. Any tips?
BTW: Why TCustomPanel is in ExtCtrls unit? I think that this important control which is the base for many other controls, should be in StdCtrls (it is on standard palette). Reason is delphi compability?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121210/185a36bf/attachment.html>
