I am using the function "addSymbol" to add some buttons to a window dynamically. In this window I use a "loadscreen" in Layer 8 to avoid displaying anything until every object is created. However the buttons in Layer 1 are always displays in front of the loadscreen.
I have tried to use setInputFocus() as described in help.
Is there any way to avoid this withouting creating with visible=no and display when finished. I trusted layer 8 will hide everything in the background
do not display when using "addSymbol"
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: do not display when using "addSymbol"
By default all layers in a panel are active/visible.
A layer with a higher number does not cover a layer with a lower number.
You can possibly use a background cover ewo to hide all objects before loading is finished.
Best Regards
Leopold Knipp
Senior Support Specialist
A layer with a higher number does not cover a layer with a lower number.
You can possibly use a background cover ewo to hide all objects before loading is finished.
Best Regards
Leopold Knipp
Senior Support Specialist
- alaralum
- Posts:22
- Joined: Mon Jan 09, 2017 9:56 am
Re: do not display when using "addSymbol"
Thanks as usual for your fast reply, Mr. Knipp.
We were using widget object instead of EWOs.
I tried with the background cover EWO and I see the same effect. Buttons which are created by AddSymbols are always on top displayed even when EWO ist visible.
Do i need to set any special parameter on buttons or in EWO to avoid it?
We were using widget object instead of EWOs.
I tried with the background cover EWO and I see the same effect. Buttons which are created by AddSymbols are always on top displayed even when EWO ist visible.
Do i need to set any special parameter on buttons or in EWO to avoid it?
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: do not display when using "addSymbol"
I have tested it.
When the BackgroundCover EWO is inserted to the panel in Gedi a button is displayed in front of the EWO.
If a reference with the EWO is also loaded using addSymbol() it covers all objects.
Best Regards
Leopold Knipp
Senior Support Specialist
When the BackgroundCover EWO is inserted to the panel in Gedi a button is displayed in front of the EWO.
If a reference with the EWO is also loaded using addSymbol() it covers all objects.
Best Regards
Leopold Knipp
Senior Support Specialist