Invisible control within a custom control

Invisible control within a custom control

Post by Rich M » Sun, 22 Apr 2007 05:40:13


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
 
 
 

Invisible control within a custom control

Post by altenbac » Sun, 22 Apr 2007 06:10:08

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)
 
<img src=" http://www.yqcomputer.com/ ">
 Message Edited by altenbach on 04-20-2007 01:51 PM


MakeVisible.png:
http://www.yqcomputer.com/

 
 
 

Invisible control within a custom control

Post by Ben » Sun, 22 Apr 2007 07:10:14

<img src=" http://www.yqcomputer.com/ %20Hidden%20Element.png">
Nice! :smileyvery-happy: :smileyhappy: :smileytongue:
Thank you!
Ben