Results 1 to 2 of 2

Thread: Micro$oft Tabbed Dialog Control 6.0

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2001
    Location
    Gold Coast, Australia
    Posts
    7

    Question Micro$oft Tabbed Dialog Control 6.0

    Just a quick query for one of the experts out there. When i have an SSTab on my form, is there a property that enables the code to tell which tab is currently selected.

    In theory i though it might go something like this:

    If SSTab1.AddRecord.selected then
    mnufileitem(3). enabled = false
    End if

    Then the code for the other tab would be:

    If SSTab1.ViewRecord.selected then
    mnufileitem(3). enabled = True
    End if

    Anyway i think i got my point across in a roundabout sort of way. Anyone got any ideas?
    Last edited by sponger58; Jun 10th, 2001 at 07:45 AM.

  2. #2
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657
    Use the Tab property (0-based):
    Code:
    If SSTab1.Tab = 0 Then
        ' do this
    ElseIf SSTab1.Tab = 1 Then
        ' do that
    Else  ' etc.
    End If
    "It's cold gin time again ..."

    Check out my website here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width