LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create pull down menu

Hi
 
I like to create a pull down menu in LabVIEW,is it possible to do so.
 
Thanks
0 Kudos
Message 1 of 6
(3,288 Views)
You mean a combo box? its available in Front panel. right click anywhere on the FP and locate it under 'string and path' from the 'modern' menu.
 
You mean a ring? its also available inside 'modern' menu in FP.
 
Hope it helps!
 
Mathan
0 Kudos
Message 2 of 6
(3,286 Views)

For a pull-down menu, normally a Ring control is used in LV, because the end-user cannot edit its items, whereas, in a Combo control, it is possible to edit the string(s) at run-time, unless it is restricted in its properties during design time or thro' property node at run time.

Use the Ring control from the System controls palette, that ll give you a native feel of the Windows environment.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 3 of 6
(3,282 Views)
Thanks Mathan & Partha
 
 
0 Kudos
Message 4 of 6
(3,278 Views)
If a combo box suffices, then use a combo box.

But in LV8+, you can also create (dynamic) (right-click) context menus.
Under the Advanced settings you can edit them. If you want them to behave
dynamic, you'll have to catch the menu activation event, and use the
references from the event to programatically create the menu. In both cases,
an selection of a menu item creates another event.

Regards,

Wiebe.


0 Kudos
Message 5 of 6
(3,269 Views)

Hi

I created a simple program,where as in the front panel if i select D1 the corresponding indicator turns on. I am interested in doing like this,if i slect D1 the indicator should turn on,additionally if i select anyother from the list corresponding indicator should turn on aswell.

0 Kudos
Message 6 of 6
(3,257 Views)