Menu Variables
Here are the first few lines of a sample menu, showing the menu variables:
DEFINE Sm_window_menu_layout
IF (Data_management_menu_activ)
LET Data_management_menu_activ 0
Sm_data_management_reset_main
END_IF
LET Hl_active 0
CURRENT_MENU 'Window_menu'
S_clear_menu
Sm_screen_main_use_current
MENU
BLACK
YELLOW ' WINDOW ' 13 1
MENU
WHITE
BLACK 'FIT' 'Window_fit' 14 1
The meaning of each of these variables is as follows:
CURRENT_MENU ''
This sets the name of the current screen menu to a default empty string. All menu layouts and menu commands will be related to this current menu, until a current menu having a different name is used.
S_clear_menu
This macro clears all text from the menu, so that new text can be entered.
¿Fue esto útil?