Disable input / edit operations of the input field.

Syntax

bool AM_DisableTextEdit(
  MENU_HANDLE menu,
  int id
);

Parameters

menu
[in] Menu handle
id
[in] Item ID of menu item.

Return value

Returns true if the function succeeds, false otherwise.
Returns false if the menu item specified by id is not an input field.

Remarks

Disables the input / edit operation of the input field specified by id.

To enable the input / edit operation of the input field programmatically, call the AM_EnableTextEdit function.
Use the AM_IsTextEditEnabled function to check if the input / edit operation of the input field is enebled.

Requirements

Header file:
lib.h
AdvancedMenu.h (Ver. 1.6.1 or later)
Library file:
libAdvancedMenu.a (Ver. 1.6.1 or later)
libSTARTUPOPH5000.a

See also

Last updated: 2021/07/03