Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Enable/disable tabs at runtime (SSTab)

Thread Tools Display Modes
Old 03-15-2004, 03:28 PM
Mackan_HBG Mackan_HBG is offline
Join Date: Feb 2004
Posts: 12
Question Enable/disable tabs at runtime (SSTab)

How does one enable or disable one or more tabs in an SSTab object? I have 5 tabs and at startup I want only the first tab to be enabled. The rest should be enabled after the user has entered a value in a text field and clicked a command button.

I´m a n00b, I know :-(
Reply With Quote
Old 03-15-2004, 03:49 PM
shashidharkr shashidharkr is offline
Join Date: Oct 2003
Posts: 172

You can set the tab properties using tabindex.
Following is an example:
SSTab1.TabEnabled(0) = True
SSTab1.TabEnabled(1) = False
Reply With Quote
Old 03-15-2004, 04:22 PM
Mackan_HBG Mackan_HBG is offline
Join Date: Feb 2004
Posts: 12

That was easy. Thanks a bunch!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSTab array of visible tabs, help please! TheDutch IceMan Database and Reporting 0 12-21-2003 07:43 AM
clicking on sstab tabs Justin-Credible General 7 12-01-2003 05:49 PM
Setting one of the Tabs of ssTab not Visible dpdsouza General 1 02-21-2003 01:57 AM
Change the order of tabs in the ssTab control blankenm General 2 09-13-2002 08:03 PM
Link Tabs to command boxes simultaneously update each tabs info Bunnie General 7 09-11-2002 08:12 AM


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..