Sets the display string for the list item.

Syntax

bool AL_SetText(
  LIST_HANDLE list,
  int index,
  char *text
);

Parameters

list
[in] List handle
index
[in] Index number of the list item.
text
[in] A ponter to the display string.

Return value

Returns true if the function succeeds, false otherwise.

Remarks

Sets the display string for the list item specified by index and updates the display.

The display string set in the list item can be obtained by the text member of the AL_ListItemData structure obtained by AL_GetListItemData function.

Requirements

Header file:
lib.h
AdvancedMenu.h
Library file:
libAdvancedMenu.a
libSTARTUPOPH5000.a

See also

Last updated: 2020/10/09