• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

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...
0
liljegren
Asked:
liljegren
1 Solution
 
AzraSoundCommented:
try this:

sstab1.tab = 0
sstab1.caption = "Hello"
0
 
Éric MoreauSenior .Net ConsultantCommented:
Use this:
SSTab1.TabCaption(1) = "Hello"
0
 
liljegrenAuthor Commented:
Wonderful. Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now