Description:
Adds an item grouping to the XP ListBar control.
Syntax:
of_addgroup (string as_label, string as_picture, long al_style)
of_addgroup (string as_label, string as_picture)
Argument |
Description |
as_label |
The text that will display in the group header. |
as_picture |
The file name of the image that will be displayed in the group header. You can use a PowerBuilder image (e.g. "sql!"). |
al_style (optional) |
The style of the group: ORIGINAL (default), SPECIAL and NOARROW. |
ORIGINAL, SPECIAL and NOARROW are constants defined in the XP ListBar control.
Return Value:
Returns a number representing the index of the new group that was added. You can use this index value when calling other XP ListBar functions.
Usage:
Copyright © 2021 Werysoft Inc.