crelf Posted March 3, 2006 Report Share Posted March 3, 2006 This one's got me completely stumped: I'd like to fire an event (or the like) when you move between different options in a combo box. That is, you click on the box to get your drop down options, and as you move the mouse over the items in the list, I'd like to programmatically change the description of the combo box: Any ideas? It's driving me nuts! Download File:post-181-1141401289.vi Quote Link to comment
jpdrolet Posted March 3, 2006 Report Share Posted March 3, 2006 When the user scrolls in a menu it seems that it is in a different window that doesn't belong neither to the VI nor the control. However, you can still monitor the mouse movements using the Mouse Device VIs and figure which item is highlighted. That might not be font independant. Quote Link to comment
crelf Posted March 3, 2006 Author Report Share Posted March 3, 2006 ...you can still monitor the mouse movements using the Mouse Device VIs and figure which item is highlighted. I'd thought of that, but it's not as trivial as it sounds. I'd need to take several things into account: * font size, as you mentioned * what item was selected before the user clicked on the control (this determines where the new 'window' pops up) * screen resolution and position of control relative to the top / bottom of the screen - this also determines where the 'window' pops up. Maybe I could do it using relative move movements... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.