From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-29-2016 04:15 PM
I need to put a decoration over a button, but decoration blocks button's hitbox. Is there a way to solve that?
Solved! Go to Solution.
09-29-2016 04:28 PM - edited 09-29-2016 04:29 PM
We're going to need a bit more information... but a place you might want to start is looking at the Z-order
https://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/changingtheorderoffpanelob/
Edit: To clarify, by "more information" I mean what are you trying to do? I can't think of a good reason to place a decoration OVER a button - which means there is likely a better way to accomplish your goal. Please post your code or the VI you are working on.
09-29-2016 04:53 PM
Most of the time, a decoration is placed over a control in order to do just that, prevent interaction. If you are wanting to change the icon on a button, right click the control, click Advanced -> Customize. This will let you add decoration that is part of the button and doesn't interfere with its operation.
09-29-2016 11:20 PM
Do you want to customize control (is that you wanted to achieve?)
If Yes you can customize and save as a control file.
09-30-2016 01:08 AM - edited 09-30-2016 01:11 AM
I often use decoration on my Front Panel, like a piping diagram to aid the GUI. In such case after placing the png picture on the FP, I need to bring other "active" LV components to front for example...
Select your button or other object. Go to "Reorder" --> Move To Front:
edit: when you place a decoration on the top of your existing button, obviously just select your decoration itself, and click on "Move To Back"...
09-30-2016 11:26 AM
I want to customize my buttons thats why Im putting an object over a button, I didnt share the vi because I thought it was a just a general question, I couldn't do it with Advanced -> Customize too
09-30-2016 11:58 AM - edited 09-30-2016 12:21 PM
A Jing is worth at least 1000 words