LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to disable run time menu?

Solved!
Go to solution

i made a custom run time menu for my application, at some situation i want to disable (disable - grey) one of my  menu item...

 

how to do this...?

Regards,
Balaji DP
0 Kudos
Message 1 of 4
(4,076 Views)

Hello,

 

I am not sure what item you actually want to disable. But I have made an example to disable a button control. Have a look on the vi attached. Let me know if this helps..

 

Regards,

Nitz..

(Kudos are always welcome;))

0 Kudos
Message 2 of 4
(4,066 Views)

hi,

        actually on the left top corner of your vi contains menu , on that you can fine (Menu) File -- > (menu items) New file, New, save, save as......

 

please find an attachment , i hope you understand my questions... 

 

on this attachment you  can find on this menu items some of the items are set as disable - grey, like so i made a custom run time menu of my vi.. i want to disable some of the items to disable at some task....

 

 

Regards,
Balaji DP
0 Kudos
Message 3 of 4
(4,059 Views)
Solution
Accepted by topic author Balaji_DP

Hi Balaji,

 

did you ever used some of the Menu functions? They will help you in reaching your goal, especially the last one (SetMenuItemInfo)...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(4,047 Views)