Well, as it happens, my expander child is an IupFrame, as in the attached
script. All expanded expander children remain visible even if they should
be hidden by the zbox.



2014/1/7 Antonio Scuri <[email protected]>

>   Yes, that’s true. This does not have a simple solution.
>
>
>
>   What I recommend is to use a native container inside the zbox or the
> expander depending on who you want to hide/show. Since a native container
> will hide/show all its children at once you will not have to worry about
> inner children in expand/zbox elements.
>
>
>
>   Currently IupTabs, IupFrame and IupScrollBox are native containers.
>
>
>
> Best,
>
> Scuri
>
>
>
> *From:* Benoit Germain [mailto:[email protected]]
> *Sent:* terça-feira, 7 de janeiro de 2014 12:02
> *To:* IUP discussion list
> *Subject:* [Iup-users] zbox and expander don't mix well
>
>
>
> Hello and happy new year,
>
> Because both manipulate the VISIBLE attribute, it is not possible to put
> an expander inside a zbox. If the expander says its child is visible, then
> when we tell the zbox to show some other child, the child that contains the
> expander will hide the expander, but the expander's child will remain
> visible.
>
> Maybe invisibility should be handled internally as some kind of
> refcounting? Changing the VISIBLE attribute at any level would only
> increment/decrement an invisibility counter (being 0 by default), and only
> when this invisibility counter is equal to 0 then should any control be
> visible?
>
> Regards,
>
>
> --
> Benoit.
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>


-- 
Benoit.

Attachment: IupExpanderAndZboxProblem.lua
Description: Binary data

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to