home *** CD-ROM | disk | FTP | other *** search
- /* ------------------------------------------------------------------ */
- /* Macro: CFGCONF.AML */
- /* Written by: nuText Systems */
- /* */
- /* Description: This macro displays a configuration dialog box for */
- /* confirmation options. */
- /* ------------------------------------------------------------------ */
-
- include bootpath "define.aml"
-
- var options
-
- // create dialog box
- dialog "Confirmation Options" 45 7 "cp"
-
- // confirmation options
- groupbox 'Options:' 3 2
- (menu ''
- item " [ ] Confirm on File &Delete"
- item " [ ] Confirm on File &Replace "
- item " [ ] Confirm on File &Touch"
- end) '' (if? _ConDel == 'y' 'a') + (if? _ConRpl == 'y' 'b') +
- (if? _ConTch == 'y' 'c') "abc"
-
- // ok/cancel buttons
- button "O&k" 35 3 8
- button "Cancel" 35 5 8
-
- // display dialog box
- if (getdialog ref options) == 'Ok' then
- setobj ConDel (if? (pos 'a' options) 'y' 'n') 'prf'
- setobj ConRpl (if? (pos 'b' options) 'y' 'n') 'prf'
- setobj ConTch (if? (pos 'c' options) 'y' 'n') 'prf'
- end
-
-