Link to home
Start Free TrialLog in
Avatar of liljegren
liljegrenFlag for Sweden

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...
Avatar of AzraSound
AzraSound
Flag of United States of America image

try this:

sstab1.tab = 0
sstab1.caption = "Hello"
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of liljegren

ASKER

Wonderful. Thanks!