home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
AUROR21A.ZIP
/
CFGMAIN.AML
< prev
next >
Wrap
Text File
|
1995-09-01
|
3KB
|
63 lines
/* ------------------------------------------------------------------ */
/* Macro: CFGMAIN.AML */
/* Written by: nuText Systems */
/* */
/* Description: This macro displays the main configuration dialog */
/* box. */
/* ------------------------------------------------------------------ */
include bootpath "define.aml"
// run a configuration macro for a button pressed
function cfg (id)
suffix = case id
when 1 "color" when 11 "open"
when 2 "conf" when 12 "print"
when 3 "desk" when 13 "prom"
when 4 "edit1" when 14 "save"
when 5 "edit2" when 15 "sort"
when 6 "fmgr" when 16 "find"
when 7 "ldlm" when 17 "form"
when 8 "marg" when 18 "video"
when 9 "misc" when 19 "style"
when 10 "mouse" when 20 "styl2"
otherwise ''
end
if suffix then
runmacro getbootpath + "CFG\\CFG" + suffix + ".X"
end
end
dialog "Configuration and Setup" 73 16 "cp"
// column 1
button "&Colors" 3 2 20 whenenter "cfg"
button "Co&nfirmations" 3 4 20 whenenter "cfg"
button "&Desktop" 3 6 20 whenenter "cfg"
button "&Edit Options 1" 3 8 20 whenenter "cfg"
button "Edit Options &2" 3 10 20 whenenter "cfg"
button "&File Manager" 3 12 20 whenenter "cfg"
button "&Line Delimiter" 3 14 20 whenenter "cfg"
// column 2
button "&Margins and Tabs" 27 2 20 whenenter "cfg"
button "M&iscellaneous" 27 4 20 whenenter "cfg"
button "Mo&use" 27 6 20 whenenter "cfg"
button "&Open" 27 8 20 whenenter "cfg"
button "&Print" 27 10 20 whenenter "cfg"
button "P&rompt" 27 12 20 whenenter "cfg"
button "S&ave" 27 14 20 whenenter "cfg"
// column 3
button " &Sort" 51 2 20 whenenter "cfg"
button " Searc&h / Replace" 51 4 20 whenenter "cfg"
button " &Text Reformat" 51 6 20 whenenter "cfg"
button " &Video" 51 8 20 whenenter "cfg"
button " &Window Style &1" 51 10 20 whenenter "cfg"
button " Window St&yle 2" 51 12 20 whenenter "cfg"
button " <E&xit>" 51 14 20
// display the dialog box
getdialog