LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Invisible control within a custom control

I have a custom control made up of a cluster that (somehow) contains invisible controls within it.  These are enums that were not typedef'ed and I now need to change them.  Can I access the properties of an invisible control inside a custom control so I can view them adn change them?

Thanks

0 Kudos
Message 1 of 6
(3,188 Views)
Create a property node for your cluster and get property "controls[]".
 
Now iterate over the array of control references and set them to visible via another property node. (see image for a simple code draft)
 
 

Message Edited by altenbach on 04-20-2007 01:51 PM

0 Kudos
Message 2 of 6
(3,187 Views)
That doesn't fix my original Custom Control, only that particular instance of it.  I'll do that and then copy that instance back into my original control and save it.
 
Thanks
Rich
0 Kudos
Message 3 of 6
(3,176 Views)
Note I found the following.
Message 4 of 6
(3,171 Views)

Nice! Smiley Very Happy Smiley Happy Smiley Tongue

Thank you!

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 6
(3,164 Views)

Ah yes, forgot about that one. 😉

For us old-timers, this is a "relatively" new feature and it's absence cause quite a bit of grief in the old days.

For some entertaining reading, have a look this old discussion:

http://forums.ni.com/ni/board/message?board.id=170&message.id=4364#M4364

 

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