%HI_AddItem function


Function
The function adds a row to the specified Windows control of List box type (Control function).
Declaration
%HI_AddItem(
   INT in refId, 
   TEXT in itemText
   [, HBJ in beforeItemIdx]
 )

Parameters
refId Reference to graphic object (reference variable).
itemText Text displayed in the added row.
beforeItemIdx Index of the row, before which the added row will be inserted.

Description
The function allows to add the row to the list box. The list box is defined by the reference variable refId. Text of the row is defined by the parameter itemText. If the parameter beforeItemIdx is not entered, the item will be added to the end. If it is entered, its value defines the index of the item, before which the new item will be inserted.
Rows are numbered from 1...

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .