bool wb_set_selected (int control, mixed items [, bool selected])
Selects one or more items of a control. Parameter selected is optional and it is set to TRUE by default.
Returns
TRUE
on success or FALSE
if an error occurs.
See the following table.
Class |
What it does |
---|---|
Selects the specified item. |
|
Selects the specified item. |
|
Adds or removes the specified items from the current selection. ¹ |
|
Selects the specified menu item and unselects all other items in the menu. ¹ |
|
Changes the current tab to the specified one. |
|
Changes the selected node to the specified node. |
¹ Compare with wb_set_value().
wb_get_selected
wb_set_value
Control functions