Results 1 to 6 of 6

Thread: multi-page question?

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Australia
    Posts
    33
    Hi

    Could anybody please help me out with the code to move from one page to another page within a multi-page object via a command button rather than clicking on a tab.
    This is being done through VB-Script.

    Thanks


    Gregg

  2. #2
    Guest
    SSTab:
    Code:
    SSTabControlName.Tab = TabIndex
    TabStrip:
    Code:
    Set TabStripName.SelectedItem = TabStripName.Tabs(TabIndex)
    OK?

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Australia
    Posts
    33
    Thanks for your response Escaflowne, however I seem to get the following error message...

    Object doesn`t support this property or method.

    My code is...

    Set Tabstrip1.SelectedItem = TabStrip1.Tabs(1)


    I`m obviously doing something. Any ideas??


    Cheers

    Gregg

  4. #4
    Guest
    Oh, then try this:

    Code:
    TabStrip1.Tabs(1).Selected = True

  5. #5

    Thread Starter
    Member
    Join Date
    Aug 2000
    Location
    Australia
    Posts
    33
    Still no go

    Seem to be getting the same message.
    This is my entire function..


    Private Sub CommandButton18_Click()

    TabStrip1.Tabs(1).Selected = True

    End Sub


    Thanks


    Gregg

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Then that surely is a old version of tabstrip?!?!
    That works fine with my tabstrip
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

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