LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview - Grouped items in text ring

Hi all.

 

I was wondering if it is possible to have a text ring control showing grouped items. In other words, make the drop-down list look like a drop-down menu.

 

Two images to depict what I am looking for.

 

Have a nice day,

Matthieu

Download All
0 Kudos
Message 1 of 6
(2,495 Views)

Hi Matthieu,

 


@MatthieuM wrote:

I was wondering if it is possible to have a text ring control showing grouped items. In other words, make the drop-down list look like a drop-down menu.


To get the look of a dropdown menu you should use a menu ring…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,488 Views)

Thank you GerdW for your prompt reply.

 

If I may, could you give me some details on how to define the menu items so that, when clicked, we have the hierarchy showing up (just like in my second picture in the above message) ?

 

Regards,

Matthieu

0 Kudos
Message 3 of 6
(2,483 Views)

Hi Matthieu,

 

create a custom menu for your dropdown menu as required.

Then create this little event structure to handle every mouseclick as right-click:

(Just an idea, not fully tested…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 6
(2,475 Views)

Hi GerdW.

 

I already had the menu 'tweak' in mind. I was actually wondering if there was a native way to do so.

 

Apparently not...

 

Thanks for your time 🙂

 

Regards,

Matthieu

0 Kudos
Message 5 of 6
(2,468 Views)

Hi Matthieu,

 


@MatthieuM wrote:

I already had the menu 'tweak' in mind. I was actually wondering if there was a native way to do so.


When you want a menu then a menu is the native way…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 6
(2,455 Views)