HI_GetItemData
%HI_GetItemData, %HI_SetItemData functions
Declaration
%HI_SetItemData(
INT in refId,
INT in itemHandle,
INT in position,
in data
)
UNIVAL %HI_GetItemData(
INT in refId,
INT in itemHandle,
INT in position
)Parameters
refId | Reference to the graphic object |
itemHandle | Item identifier. |
position | Position of the item data within the interval 1 ... 15. |
data | Inserted data (optional type). |
Description
Each entry in the Windows Tree element contains an array of 15 values that the user can set and read. Their meaning is not given and they have no influence on the behavior of the item.
The tree view is defined by the reference variable refId.
The item is specified by the parameter itemHandle (see: %HI_AddTreeItem).
The item data is identified by the serial number within the interval 1 .. 15 - the parameter position.
The value type of the parameter data is optional, beside a structure type.
Return code of the function %HI_GetItemData is given by the type of the value stored in particular position.