On Wed, 3 Mar 2010 17:49:11 +0100 JoshyFun <[email protected]> wrote:
> Hello Lazarus-List, > > Wednesday, March 3, 2010, 4:27:26 PM, you wrote: > > MG> You can reparent anytime, but some settings depend on the parent. For > MG> example Align, anchor to parent, ParentFont, ParentBIDI, .... > >> Something like extract controls from TPanel (at runtime) and insert > >> them in the parent of the TPanel ? Thinking a bit more on this, this > >> way we will lost the autoarrange facilities and maybe more things. > MG> What exactly do you want to achieve? > > My intention is to have a "mouse click" transparent control to group > controls given them the feeling that they are not put in a panel, and > of course see the background. So something like an invisible TPanel > where I can bound the controls to the invisible dimensions, font, etc. > Something that do not accept clicks, nor focus and does not perform > any kind of draw, a pure container. Many IDE dialogs use panels that you can not see. They don't need to be transparent for that, just use no borders. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
