DtvLong dal_men_wri_row (idm, row, str_txt, str_fnc, str_par)

Writes an item entry and the corresponding function at the specified row position of the menu passed.

Input Parameters Significance
DtvLong idm menu Id
DtvLong row row position in the menu
char *str_txt item entry [0 = no entry]
char *str_fnc function string [0 = no entry]
char *str_par parameter string [0 = no entry]

Output Parameters Significance
no -

Return Code Significance
0 no error.
-1 zero Id

If an item is already entered at the specified row position, it will be overwritten.

When you enter a new item in the menu, DataView will increment the menu length by one until the defined maximum menu length is reached. Then the menu will be defined as scrollable.

The function automatically invoke any set Menu listener function.