mje Posted January 17, 2009 Author Report Share Posted January 17, 2009 Is there a way to display a menu without associating it to a VI's menu bar or to a context menu of a control/panel? Basically I want to create a pull down button, which when clicked shows a menu hierarchy. Currently I have it set to a context menu for the button and it's perfectly functional, but for usability sake it should really be fired from a normal button press...not every user goes around checking every control for a context menu. Note I know how to handle this by breaking out calls to the OS, I'm just wondering if there's a native LV way of doing it. Quote Link to comment
mje Posted January 17, 2009 Report Share Posted January 17, 2009 Is there a way to display a menu without associating it to a VI's menu bar or to a context menu of a control/panel? Basically I want to create a pull down button, which when clicked shows a menu hierarchy. Currently I have it set to a context menu for the button and it's perfectly functional, but for usability sake it should really be fired from a normal button press...not every user goes around checking every control for a context menu. Note I know how to handle this by breaking out calls to the OS, I'm just wondering if there's a native LV way of doing it. Quote Link to comment
LAVA 1.0 Content Posted January 18, 2009 Report Share Posted January 18, 2009 What about a 'Mouse down?' event and on a left click make it a right click? (left is button 1, right is button 2) Ton Quote Link to comment
LAVA 1.0 Content Posted January 18, 2009 Report Share Posted January 18, 2009 What about a 'Mouse down?' event and on a left click make it a right click? (left is button 1, right is button 2) Ton Quote Link to comment
mje Posted January 19, 2009 Author Report Share Posted January 19, 2009 Brilliant, thanks Ton, I completely forgot about that filter event. Works like a charm. 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.