From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable and disable elements in a Enum control

Solved!
Go to solution
I have two  enum control for a value change event in one enum control i want to hide or diasable some elements in other enum control .
0 Kudos
Message 1 of 8
(7,002 Views)

You use the DisabledItems[] property. The input is an array and you pass it the index of the elements you want disabled.

Message 2 of 8
(6,998 Views)

maybe you can use the disabled Items[] property

 

dennis beat me to it.....

Message Edited by Harold Timmis on 08-25-2009 03:20 PM
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 3 of 8
(6,997 Views)

how to enable for disabling i am passing array with indexes i want to disable for enable what should i do.

0 Kudos
Message 4 of 8
(6,982 Views)
To enable, you pass an empty array.
0 Kudos
Message 5 of 8
(6,975 Views)
Solution
Accepted by topic author srinivas
Thank you i got it.
0 Kudos
Message 6 of 8
(6,967 Views)
Then please mark Dennis' reply as the solution to your question rather than your own thank you message.  You can unmark your message as the solution by going to the options menu to the upper right of your reply.
0 Kudos
Message 7 of 8
(6,946 Views)

Dennis, thanks for your answer.

Message 8 of 8
(5,281 Views)