LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create on-mouse-hover function to display decal for a button

Hello, I am using the latest version of LabView and I'm trying to make a simple "Ok Button" with unique decals for the True/False states display another unique on-mouse-hover image/decal. I've tried one method that came close but was not as functional as I needed it to be. Does anybody have any tips or methods I could try to implement this?

 

What I've tried already:

I first copied/pasted my button, uploaded the on-hover image to the old button's false state, then overlayed the 2 buttons on top of each other. Then I set up a mouse-over event structure for my top-most button that would hide the visibility of the top button, leaving only the bottom button (with the on-hover decal) visible. I then set up a mouse-leave event structure to make the top button visible again. This worked okay, but the top button tends to disappear, then reappear multiple times whenever the mouse enters/exits. No amount of delay to "debounce" the mouse enter/leave functions seems to fix this. It also often times ends its disappearing/reappearing process on the "visible" state of the top-most button, meaning that the program is displaying the default False state for the top button, not the on-hover state of the second button, so it kind of defeats the whole purpose.

 

0 Kudos
Message 1 of 2
(1,319 Views)

Is a VI Harold created helpful?

 

https://forums.ni.com/t5/LabVIEW/hover-mouse-over-boolean-indicators-to-show-image/m-p/1063289#M4718...

 

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 2 of 2
(1,302 Views)