Avoiding copies of button on all tabs
fltcoils
I am working on a legacy interface, when I try to add a new control to the panel, it also appears on the other 2 panels (a 3 tabbed panel system). I'd like to have it exclusive to the middle panel.
Igor 6.2
win7
thanks
disable = ...
statements for a given control. Add the corresponding code appropriately for your control.--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
June 5, 2013 at 02:20 pm - Permalink
disable= was a good clue
Apparently when one creates an entity using the drop down interface..
panel/add controls/setvar
...one must name the variable with a _tabx x=0,1,2,3,...n tab number after it.
If this is done, then the newly created servar will have both the _tabx identifier and the disable=x field in it's declaration. So equipted it will be limited to tabx, which is what I needed to know how to do. Thanks.
This interface is not quite intuitive, I hope I remember this a year from now.
June 11, 2013 at 02:17 pm - Permalink
This means, someone has programmed the tab control for you to handle the enable/disable of controls. Good that you found this.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
June 12, 2013 at 05:01 am - Permalink