LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to restore default value of TEXT controls

Hello All

 

i change some properties (text color/Back GND etc) of TEXT MESSAGE control during runtime and  want to restore it back to its default values at the end of program.

i used DefaultCtrl but did not work. Moreover how can i use SetCtrlAttribute with "ATTR_DFLT_VALUE" as Attribute Value but nothing happens. 

i am using these commands at the end of a case before BREAK. Thanks

 

Regards

 

Matrix 

 

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

Maybe you can use the function pair: SavePanelState and RecallPanelState.

 

These functions save/recall the state of "all" controls on the panel. So be sure that is OK for you.

Hope this helps, 

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 2
(2,749 Views)