-
Oct 12th, 2000, 10:49 PM
#1
Thread Starter
Member
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
-
Oct 12th, 2000, 10:57 PM
#2
SSTab:
Code:
SSTabControlName.Tab = TabIndex
TabStrip:
Code:
Set TabStripName.SelectedItem = TabStripName.Tabs(TabIndex)
OK?
-
Oct 12th, 2000, 11:29 PM
#3
Thread Starter
Member
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
-
Oct 12th, 2000, 11:44 PM
#4
-
Oct 12th, 2000, 11:51 PM
#5
Thread Starter
Member
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
-
Oct 13th, 2000, 04:38 AM
#6
transcendental analytic
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|