[Gambas-user] Expander conditional Show

Benoît Minisini gambas at ...1...
Sun Dec 16 23:02:32 CET 2012


Le 16/12/2012 19:18, M. Cs. a écrit :
> Hello!
> I am curious to know whether there are possibilities to make Expander's
> expanding conditional.
> There are defined event _Show(), which is happening between the mouse's
> click and Expander's expand, and similarly the event _Hide().
> But none of them offer possibility to intercept the opening/closure
> conditionaly,
>
> E.G: I would like to let Expander expand with click if exactly one item of
> a list is selected. How to solve this?
>
> Csaba

Now that a disabled Expander is really disabled, doesn't it solve your 
problem?

-- 
Benoît Minisini




More information about the User mailing list