Graphisoft®

Dialog ManagerVersion: 2.0

ListBox::GetTabItemText

Retrieves the text of a tabulator item.

long GetTabItemText (
    short               listItem,
    short               tabIndex,
    char *              text,
    long                size
) const;

Parameters

listItem
1-based index of the list box item, use TopItem or BottomItem of Item type to specify the first or last item of the list box control.
tabIndex
1-based index of the tabulator field.
text
Output parameter: pointer to a buffer to receive the text. This parameter can be NULL.
size
Size of the text buffer. If text is NULL, this parameter is ignored.

Return Value

The length of the item text (including the 0 terminator), or zero if size is less than the size of the item text.

Description

Use NULL for the text parameter to determine the necessary buffer size.