Hi,<div><br></div><div>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?</div>
<div><br></div><div>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?</div>
<div><br></div><div>Regards</div>