Graphisoft®

Dialog ManagerVersion: 2.0

ListBox::SetHeaderItemText

Sets the text of a header item.

void SetHeaderItemText (
    short                headerItem,
    const GS::String &   text
);

Sets the text passed by GS::String reference.

void SetHeaderItemText (
    short               headerItem,
    const char *        text
);

Sets the text passed by a pointer to a buffer.

Parameters

headerItem
1-based index of the header item.
text
The new text of the header item.

Description

A header item can contain an icon and/or text also, but only one icon can appear in a header item. In case of using an icon with text in a header item, the icon can be set by the SetHeaderItemIcon method. If a header item contains an icon and text also, the icon will be positioned either at the beginning or at the end of the text according to the justification.