#SYSTEM (template registration and load) 


 Top  Previous  Next

#SYSTEM

The #SYSTEM statement marks the beginning of a section of Template code which executes when the Template set is registered or loaded from the template registry. The section is terminated by the next Template Code Section (#PROGRAM, #MODULE, #PROCEDURE, #CONTROL, #CODE, #EXTENSION, #UTILITY, or #GROUP) statement. Any #PROMPT statements in a #SYSTEM section appear on the Application Options dialog, once the Template Registry has been loaded (opened an .APP file).

Example:

#SYSTEM

#TAB('Wizards')

#PROMPT('Use Toolbar mode for Wizards',CHECK),%UseToolBarForWizard

#ENDTAB

#DECLARE(%GlobalSystemSymbol)