TTabbedNotebook, how to edit titles

Hey there guys,
is there anyway to change TTabbedNotebook page titles at runtime?
the following code will add a extra '=' at the beginnig of page title.
[code]
TabbedNotebook1.Pages.ValueFromIndex[0]:='alkdfjeio';
[/code]
any idea?

Comments

  • : Hey there guys,
    : is there anyway to change TTabbedNotebook page titles at runtime?
    : the following code will add a extra '=' at the beginnig of page title.
    : [code]
    : TabbedNotebook1.Pages.ValueFromIndex[0]:='alkdfjeio';
    : [/code]
    : any idea?
    :
    :
    The Pages property of the TTabbedNotebook is a TStrings object, which means that you can set each page caption using the properties of that object class:
    [code]
    TabbedNotebook1.Pages[0] := 'Something';
    [/code]
    Remember the TStrings.Strings[] property is defaulted.
  • : The Pages property of the TTabbedNotebook is a TStrings object, which means that you can set each page caption using the properties of that object class:
    : [code]
    : TabbedNotebook1.Pages[0] := 'Something';
    : [/code]
    : Remember the TStrings.Strings[] property is defaulted.

    Thanks[italic] as ever...[/italic]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories