01-16-2012 05:27 AM
I've been messing about with the creation of custom controls in labview for awhile now but still can't my desired outcome.
I'd like user_add.png to be displayed on startup and then when the mouse enters the control that background.png will surround user_add.png. The functionality should be the same as the "missing system control suite" provided here. https://decibel.ni.com/content/groups/ui
Any tips/tricks to achieve this kind of feature?
Cheers
01-16-2012 07:08 AM
The easiest way to achieve what you need is to use the "user_add" image as a decal, and make sure the False state of the boolean has no image. Then place your background image in the "mouse over" state, which will cause it to show when the operator places the mouse cursor over the button. You'll likely need another image for the depressed state to show that the mouse click has registered. Try reading this thread for more details: https://decibel.ni.com/content/docs/DOC-4871
01-16-2012 12:29 PM
I agree. I just want to emphasize that you have to start with one of the buttons on the System palette to get a mouse over state.