home *** CD-ROM | disk | FTP | other *** search
- /* ------------------------------------------------------------------ */
- /* Macro: CFGPROM.AML */
- /* Written by: nuText Systems */
- /* */
- /* Description: This macro displays a configuration dialog box for */
- /* the default prompt style. */
- /* ------------------------------------------------------------------ */
-
- include bootpath "define.aml"
-
- var promptstyle
-
- // create dialog box
- dialog "Prompt Style" 37 7 "cp"
-
- // save options group box
- groupbox 'Default Prompt Style:' 3 2
- (menu ''
- item " ( ) &Command Line"
- item " ( ) &One-Line Box "
- item " ( ) &Two-Line Box"
- item " ( ) &Dialog Box"
- end) '' _PromptStyle 'c12d'
-
- // ok/cancel buttons
- button "O&k" 27 3 8
- button "Cancel" 27 5 8
-
- // display dialogbox
- if (getdialog ref promptstyle) == "Ok" then
- setobj PromptStyle promptstyle 'prf'
- end
-
-