mixed wb_create_items (int control, mixed items [, bool clear [, mixed param]])
Creates one or more items in a control.
To create a multi-segment status bar, each element of the items array must be an array with a string (that may be empty) and a width. If the width is empty, NULL, zero or very small (up to 4) it will be automatically calculated to the width of the string plus a small margin, or a minimal width if the string is empty or NULL. If the last width is zero or empty it will extend the last segment to the right edge of the status bar independently of the text contents of the last segment.
The return value varies according to the items created.
Refer to the following table.
| Class |
What it creates |
|---|---|
|
One or more combo box items. |
|
|
One or more list box items. |
|
|
One or more list view rows. |
|
|
One or more status bar segments. |
|
|
One or more tab pages. |
|
|
One or more treeview nodes. |
wb_delete_items
wb_get_item_count
Control functions