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


Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2004, 02:28 PM
Mackan_HBG Mackan_HBG is offline
Newcomer
 
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
  #2  
Old 03-15-2004, 02:49 PM
shashidharkr shashidharkr is offline
Centurion
 
Join Date: Oct 2003
Posts: 172
Default

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

That was easy. Thanks a bunch!
Reply With Quote
Reply


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 06:43 AM
clicking on sstab tabs Justin-Credible General 7 12-01-2003 04:49 PM
Setting one of the Tabs of ssTab not Visible dpdsouza General 1 02-21-2003 12: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

Advertisement:





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.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
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..
subscribe
 
 
-->