liljegren
asked on
Setting captions for SSTab in run-time
I have a form with a SSTab control (SSTab1), with two tabs. I wonder how to set the captions for the two tabs in run-time. Something like:
SSTab1.Tab(0).Caption = "Hello"
SSTab1.Tab(1).Caption = "Goodbye"
But this doesn't work...
SSTab1.Tab(0).Caption = "Hello"
SSTab1.Tab(1).Caption = "Goodbye"
But this doesn't work...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Wonderful. Thanks!
sstab1.tab = 0
sstab1.caption = "Hello"