mixed wb_get_selected (int wbobject)
Returns a value or array with the indices or identifiers of the selected elements or items in wbobject.
See the following table.
Class |
What it retrieves |
---|---|
The index of the currently selected item. |
|
The index of the currently selected item. |
|
An array with the indices of the selected items. ¹ |
|
The index of the selected tab page. |
|
The handle of the currently selected node. |
|
Window |
0 (zero). |
Other controls |
0 (zero). |
¹ Compare with wb_get_value().
wb_get_value
wb_get_text
wb_set_selected
Control functions