i have made a sstab with three tabs... i want to know that if i hv to assign different funtions like only one tab should be active for one user at a time where as the other should be disabled... please help soon... very urgent

9 Years
Discussion Span
Last Post by GaryOC

Hi there,
To disable tabs in an SSTAB you simply make the following call

SSTab1.TabEnabled(index) = False

Where index equals the number of the tab you want disabled. In your case that would be 0,1 or 2. Just call it for each tab you want disabled. For instance, if you wanted the second and third tabs disabled you would go....

SSTab1.TabEnabled(1) = False
SSTab1.TabEnabled(2) = False

If you had an SSTab with 10 tabs and you wanted the last nine disabled, you could go....

For x = 1 to 9
SSTab1.TabEnabled(x) = False
Next x

To re-activate them just call

SSTab1.TabEnabled(index) = True

I hope this helps,

Gary O'Connor.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.