This escape sequence configures the enhanced application help system in ZTERM 2.0 and later. You should be familiar with the standard Application Help option before reading this section.
Enhanced Application Help is enabled by setting the DocumentationPDF parameter in the profile's registry entries to "+". The other two registry parameters (DocumentationMenu and DocumentationTooltip) should be setup as normal. When the "+" is found as the name, ZTERM will create an extra menu item on the Help menu and add a new icon to the toolbar. Pressing either the menu or the toolbar button will cause a 30 item popup menu to be displayed.
Each of these menu items initially will have it's text set to "Undefined" and do nothing when clicked. By using some escape sequences from the host, you can customize what each of the buttons does. The menu functions and names can be changed at any time - for example, you might want to change items when switching between Accounts Receivable and Payroll to reflect different areas of on-line documentation.
Parameter |
Value or Description |
Lead-in |
CHR$(27) CHR$(26) |
Item Flag |
space for the first menu item, ! for the second etc. |
Menu Text |
string followed by CHR$(0) |
File Name |
string followed by CHR$(0) |
Example
PRINT CHR$(27);CHR$(26);
PRINT CHR$(32 + 0);
PRINT "Product Documentation";CHR$(0);
PRINT "application.pdf";CHR$(0); ! by default in the same folder as ZTERM
PRINT CHR$(27);CHR$(26);
PRINT CHR$(32 + 1);
PRINT "Internet Homepage";CHR$(0);
PRINT "http://www.coolstf.com";CHR$(0);
PRINT CHR$(27);CHR$(26);
PRINT CHR$(32 + 2);
PRINT "Acrobat Help";CHR$(0);
PRINT "C:\Acrobat3\Reader\Acrobat.pdf";CHR$(0); ! specific folder
Please note that this sequence is not supported on Windows CE versions of ZTERM.
Also See