Xrockyman Posted July 12, 2008 Report Share Posted July 12, 2008 Hello, I am using a "log-in" system and I want do disable some controls. To do that I'm using the property node "Disable". The problem is that I have a lot of controls to disable, is not possible to create a "property node" for a group of control or other objects? Thanks in advance. Regards. Quote Link to comment
Aitor Solar Posted July 12, 2008 Report Share Posted July 12, 2008 QUOTE (Xrockyman @ Jul 11 2008, 01:25 PM) Hello, I am using a "log-in" system and I want do disable some controls. To do that I'm using the property node "Disable". The problem is that I have a lot of controls to disable, is not possible to create a "property node" for a group of control or other objects?Thanks in advance. Not that I know. There's a private property to retrieve the references of a group of objects, but is unsupported. Usually there are simpler solutions. For example, to have your controls in tabs, so just disabling the tab disables all its objects. Or to have an invisible control on top of the other controls you wan to disable: make it visible and it will block everything behind. Saludos, Aitor Quote Link to comment
Francois Normandin Posted July 12, 2008 Report Share Posted July 12, 2008 You can build an array of references and loop them to a property node for quick disabling large numbers of controls/indicators. Quote Link to comment
Xrockyman Posted July 12, 2008 Author Report Share Posted July 12, 2008 QUOTE (normandinf @ Jul 11 2008, 01:47 PM) You can build an array of references and loop them to a property node for quick disabling large numbers of controls/indicators. Thanks for your quick answer ! Building an array is the quickest and simple solution Thanks ans nice weekend for you all QUOTE (Xrockyman @ Jul 11 2008, 02:31 PM) Thanks for your quick answer ! Building an array is the quickest and simple solution Thanks ans nice weekend for you all I wanted to say "Thanks and a nice weekend for you all"... my wonderful English... Quote Link to comment
djolivet Posted July 12, 2008 Report Share Posted July 12, 2008 This was just posted, and might be of help http://forums.lavag.org/Enable-Disable-and...8311#entry48311 Quote Link to comment
Yair Posted July 13, 2008 Report Share Posted July 13, 2008 The VI Kelly posted works with control labels. Personally, I find that a potential for bugs and prefer the method Norman used. You can find a quick example here showing how you can move this to a subVI and use different groups and other options. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.