Gets the text from a window, control, or control item.
mixed wb_get_text (int wbobject [, int item [, int subitem]])
| Class of wbobject | item | subitem | Return value |
|---|---|---|---|
| ListView | integer | integer | The text of the cell specified in item, subitem (row, column) |
| integer | NULL | An array containing the texts of the row specified in item. | |
| NULL | ignored | An array containing the texts of the selected row. | |
| TreeView | integer | NULL | The text of the node specified in item. |
| NULL | ignored | The text of the currently selected node. | |
| Other controls | ignored | ignored | The control caption. |
| Window | ignored | ignored | The window caption. |