Avoiding copies of button on all tabs

Is there a way to create a new control on a tabbed panel and avoid it occuring on all the tabs?

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
You have to include a conditional code that causes the control to disappear or appear depending on the tab that is selected. Check in the procedure file for code that causes the other buttons to appear or disappear when you change tabs. You are looking for the disable = ... statements for a given control. Add the corresponding code appropriately for your control.

--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
Thanks,

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.
fltcoils wrote:
...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 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