[Lazarus] Transparent panel

Mattias Gärtner nc-gaertnma at netcologne.de
Wed Mar 3 16:27:26 CET 2010


Zitat von JoshyFun <joshyfun at gmail.com>:

> Hello Lazarus-List,
>
> Wednesday, March 3, 2010, 9:28:45 AM, you wrote:
>
> MG> On Wed, 03 Mar 2010 18:14:04 +1000
> MG> SteveG <steveg at nevets.com.au> wrote:
>
>>> Just wondering if anything came of the 'transparent panel' discussion ?
>>> ie - does such a beast exist for gtk2 as yet (under Lazarus naturally)
>
> MG> What transparency do you need?
> MG> Overlapping controls - a control below the panel should be visible
>
> It is possible to have a "panel" at design time and this panel to be
> hidden at runtime and "reparent" the controls inside ?

You can reparent anytime, but some settings depend on the parent. For  
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.

What exactly do you want to achieve?

Mattias







More information about the Lazarus mailing list