Results 1 to 6 of 6

Thread: SSTAB (Microsoft Tabbed Dialoge Control) Tutorial

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    SSTAB (Microsoft Tabbed Dialoge Control) Tutorial

    Hi,
    Anyone can give / suggest the tutorial of SSTAB Control

  2. #2
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: SSTAB (Microsoft Tabbed Dialoge Control) Tutorial

    See Using the SSTab Control.

    Also, take a look at Avoid Problems with ssTab.

    Finally, you might find How to Use Tabs in Visual Basic very informative.
    Last edited by Bonnie West; May 22nd, 2013 at 06:40 AM. Reason: Added more
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    Re: SSTAB (Microsoft Tabbed Dialoge Control) Tutorial

    Thanks,
    Actually I want that when i clicked on the third tab "Accounts List", it will automatically get focus on txtGridSearch, how it is possible ?

  4. #4
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: SSTAB (Microsoft Tabbed Dialoge Control) Tutorial

    Quote Originally Posted by hafizfarooq View Post
    Actually I want that when i clicked on the third tab "Accounts List", it will automatically get focus on txtGridSearch, how it is possible ?
    If you mean "set the focus", try this:

    Code:
    Private Sub SSTab1_Click(PreviousTab As Integer)
        If SSTab1.Tab = 2 Then txtGridSearch.SetFocus   'The 3rd Tab's number is 2
    End Sub
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Quetta-Pakistan
    Posts
    852

    Re: SSTAB (Microsoft Tabbed Dialoge Control) Tutorial

    Thanks,
    Can we change the tab look ?

  6. #6
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: SSTAB (Microsoft Tabbed Dialoge Control) Tutorial

    Quote Originally Posted by hafizfarooq View Post
    Can we change the tab look ?
    There's no built-in property or method to do that but it may be possible through subclassing. Take a look at XTab instead.


    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

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