Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
2 posts
• Page 1 of 1
RobHe28
Posts:1
Joined: Thu Dec 07, 2017 10:19 am
Moving references in foreground during runtime
Postby RobHe28 »
Hey,
I'm currently trying to place panel references in the foreground when clicked during runtime. For my application it is difficult to solve the problem with the layer functions like layeron(), layeroff() etc. Is there any CTRL-function to place refernences in the foreground or background like in the gedi module when clicking the following/attached buttons?
If not is there an option in CTRL to set the layer attributes of shapes (like setValue("REF","layer",2))?
Re: Moving references in foreground during runtime
Postby leoknipp »
A reference can be set visible/invisible or it can be added (addSymbol) or removed (removeSymbol) during runtime.
Changing the drawing order is not possible.
Maybe you can solve it by removing/adding the reference during runtime.
When talking about the drawing order you have to keep in mind that complex objects (widgets like buttons, combo boxes, ...) are always drawn in front of a simple graphical objects (rectangle, line, ....).
Best Regards
Leopold Knipp
Senior Support Specialist