LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

set default for all controls

How do I set a default for all controls?

 

For example, I want the label to always appear on the left.  Instead of setting the control attribute for each LED separately, I'd rather set a default to be applied to all LEDs.

 

I'd prefer to do this programmatically.

 

 

Thanks!!!

0 Kudos
Message 1 of 2
(2,990 Views)

Hi,

 

one possibility is to use the function call SetAttributeForCtrls from the programmer's toolbox library.

Another, to generate the controls programmatically - if you are using your own functions to do so you can define the default as to your liking.

  

Wolfgang

0 Kudos
Message 2 of 2
(2,988 Views)