HI_GetItemText
%HI_GetItemText, %HI_SetItemText functions
Declaration
%HI_SetItemText(
INT in refId,
TEXT in itemText
[, INT in itemIdx]
)
TEXT %HI_GetItemText(
INT in refId
[,INT in itemIdx]
)Parameters
refId | Reference to a graphic object |
itemText | Text in the added item. |
itemIdx | Unique identifier of the item. |
Description
The function %HI_SetItemText sets the text defined by the parameter itemText to the current item (if the parameter itemIdx is not entered) or the item defined by the parameter itemIdx (from 1...).
The function %HI_GetItemText detects the text of the current item (if the parameter itemIdx is not entered) or of the item defined by the parameter itemIdx (from 1...).
Note
If given object of List box type is editable, the term current item is taken the input field for entering a text. For this item, there is also valid the parameter itemIdx=0.