Checkbox Preferences
Ken
Is possible to have checkbox variable be an element of a wave rather than a variable?
i.e.
CheckBox Check,pos={10,10},size={20,20},proc=Proc1,title="Check"
CheckBox Check,variable= A[0]
instead of variable = A0
Thanks.
May 31, 2011 at 01:31 pm - Permalink
It is not. You are thinking of the ability to use a wave element with SetVariable. I usually prefer not to use any sort of global storage (variable or wave) which tends to clutter up the Igor environment. I almost always use ControlInfo at the point where I need to know the state of the checkbox or slider. And now that SetVariable allows you to use value=_NUM: and value=_STR: there is little need for global objects to hold values for controls.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
June 1, 2011 at 09:24 am - Permalink
June 10, 2011 at 10:10 am - Permalink