[Lazarus] Transparent panel

JoshyFun joshyfun at gmail.com
Wed Mar 3 19:48:38 CET 2010


Hello Lazarus-List,

Wednesday, March 3, 2010, 6:30:47 PM, you wrote:

>> 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.
MG> Many IDE dialogs use panels that you can not see.
MG> They don't need to be transparent for that, just use no borders.

To reach the functionality I want they must be transparent in all the
meanings, visual and event, so if I have two labels in this
"transparent frame" and I click in between both the click event will
be raised in the "transparent frame" parent not in the "transparent
frame". It is more a logical container than a visual container.

-- 
Best regards,
 JoshyFun





More information about the Lazarus mailing list