02-01-2018 03:13 AM
Hi,
when creating a combo box in LabVIEW I can edit the items to obtain several options. I would like to have have several sub-Options as depicted below.
How is this possible in LabVIEW?
Best
02-01-2018 03:52 AM
02-01-2018 04:16 AM
Hi GerdW,
thanks for your reply! Yes I am looking for something like the menu functions but I want to place it anywhere on the front Panel, not only the menu bar in the upper left Corner. Thanks!
02-01-2018 04:27 AM
02-01-2018 10:21 AM
Can't you create a r-click menu with sublevel for a button?
/Y
02-01-2018 02:38 PM - edited 02-01-2018 02:50 PM
Make a button (or something) on the FP.
Tie the Left-click mouse-down event to an event that handles that button's shortcut menu. It's a little hacky, but it largely does what you're looking for.
02-01-2018 05:01 PM
@mud_light wrote:
It's a little hacky,
It's not hacky; this is exactly what "filter" events like "Mouse Down?" exist for. Here's a similar example: a menu button on a graph.