[Lazarus] TPageControl cannot change parent

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Oct 14 18:30:34 CEST 2016


On Fri, 14 Oct 2016 12:16:25 +0200
Torsten Bonde Christiansen via Lazarus <lazarus at lists.lazarus-ide.org>
wrote:

>[...]
> In the designer it is not posible to use the builtin feature of "Change 
> Parent" (from the context menu) with a TPageControl. Other controls 
> seems to work fine (although i have not tested all of them).
> 
> To recreate the problem slap a TPanel and a TPageControl on the mainform 
> and add a single tabsheet. Use "Change Parent" on the Pagecontrol and 
> change it to the panel - and bang.
>[...]
> This is as far as it goes.

Please create a bug report.

 
> On a side node - it IS posible to select a tabsheet and change the 
> parent to the panel, which IMO should not be posible.

And for that too.

Mattias



More information about the Lazarus mailing list