C1Elastic Reference > C1Elastic Properties > Caption Property (C1Elastic) |
Returns or sets the tab text (e.g. Tab1|Tab2|Tab3).
[form!]C1Elastic.Caption[ = value As String ]
Use the pipe character ("|") to separate options. For example, "Tab1|Tab2|Tab3".
Use a dash ("-") followed by spaces to create an invisible tab between regular tabs. For example, "Tab1|- Tab2|Tab3" will create two visible tabs with a gap between them. This feature is useful if you want to crate group of tabs.
Each tab may have an accelerator key (marked with an ampersand -&) to allow for fast tab switching.
To set the caption for individual tabs, use the TabCaption property.
String