Results 1 to 2 of 2

Thread: SSTAB example please

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2008
    Posts
    206

    SSTAB example please

    Hi,

    Every time I add code to a tab in a SSTAB, it automatically adds it to all other tabs on the SSTAB control. I need different code to be added to individual tabs. Can someone provide me with an example how I can get around this?

    Thanks

    Si

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: SSTAB example please

    In the click event of the sstab you can place a logical condition that determines the currently selected tab.
    Code:
    Private Sub SSTab1_Click(PreviousTab As Integer)
        Select Case SSTab1.Tab
        Case 1
        Case 2
        End Select
    End Sub
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

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