Results 1 to 3 of 3

Thread: [RESOLVED] SStab (Multipage) How to control Tab change

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2011
    Posts
    32

    Resolved [RESOLVED] SStab (Multipage) How to control Tab change

    I created a multipage control (SStab1) with 3 tabs. I just wonder how can I control when user clicked to another tab. Because I will write different scenarios according to selected tab. But first, I need to understand other tab selected.

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: SStab (Multipage) How to control Tab change

    Try using Click event:
    Code:
    Private Sub SSTab1_Click(PreviousTab As Integer)
        If SSTab1.Tab = PreviousTab Then Exit Sub    'process each tab selection only once - comment it otherwise
        Select Case SSTab1.Tab
            Case 0
                '...
            Case 1
                '...
            Case 2
                '...
        End Select
    End Sub

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2011
    Posts
    32

    Re: SStab (Multipage) How to control Tab change

    dear RhinoBull, it works thanks for the help.

Tags for this Thread

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