LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can controls be grouped so they can be referenced as a single item?

I'm creating a multi-UUT application and have multiple controls for each UUT.  I've grouped them within a decoration and copied them for the number of UUT's possible.  What I'd like to be able to do is group them logically so I could relocate or hide them as a group rather than specifying attributes for each control in the group.  Any ideas?
0 Kudos
Message 1 of 4
(3,125 Views)
Put each group on a Tab control?
0 Kudos
Message 2 of 4
(3,120 Views)
simpler than that, put them on a panel and remove the title bar and borders of the panel. now you can create as many instances as you wish of your set of controls: call CreatePanel() and specify, for the parent argument, the handle to the panel onto which you want them to appear.
0 Kudos
Message 3 of 4
(3,105 Views)
Another alternative is to use an array with the list of controls to keep
together and write a set of functions to set attributes to all of them, but
that's rather more complex than the previous solutions.
--
Guillaume Dargaud
http://www.gdargaud.net/


0 Kudos
Message 4 of 4
(3,056 Views)