Function |
The function %HI_SetSelectedItem sets the item of the Windows control of
List box or Tree view types or
the displayer of Browser type as current (selected) one
(Control function). The function %HI_GetSelectedItem detects the index (from 1 ...) of the current (selected) item of the Windows control of List box or Tree view types or the displayer of Browser type. |
||||||||||
Declaration |
|
||||||||||
Parameters |
|
||||||||||
Note |
If no item is selected, the function %HI_GetSelectedItem returns the value of 0. For displayer of Tree view type, the parameter itemIdx is the unique identifier of the item. If the function %HI_SetSelectedItem is called on some item in Tree which is out of displayed area, the scrollbars will adjust automatically to see the selected item. |
Graphic object manipulation functions |