UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom control creation

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

Download All
0 Kudos
Message 1 of 3
(4,332 Views)

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

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 3
(2,906 Views)

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.


Christina Rogers
Principal Product Owner, LabVIEW R&D
0 Kudos
Message 3 of 3
(2,906 Views)