home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 25
/
CD_ASCQ_25_1095.iso
/
dos
/
tools
/
auror21a
/
cfgmarg.aml
< prev
next >
Wrap
Text File
|
1995-08-31
|
1KB
|
38 lines
/* ------------------------------------------------------------------ */
/* Macro: CFGMARG.AML */
/* Written by: nuText Systems */
/* */
/* Description: This macro provides support for configuring */
/* margin and tab settings. */
/* ------------------------------------------------------------------ */
include bootpath "define.aml"
var lmargin
var rmargin
var tabwidth
var vartabs
// create dialog box
dialog "Margins and Tabs" 36 9 "cp"
// edit fields
field "&Left Margin: >" 3 2 5 _LMargin
field "&Right Margin: >" 3 3 5 _RMargin
field "&Tab Width: >" 3 5 5 _TabWidth
field "&Variable Tabs: " 3 7 31 _VarTabs
// ok/cancel buttons
button "O&k" 26 2 8
button "Cancel" 26 4 8
// display dialogbox
if (getdialog ref lmargin ref rmargin
ref tabwidth ref vartabs) == 'Ok' then
setobj LMargin lmargin 'prf'
setobj RMargin rmargin 'prf'
setobj TabWidth tabwidth 'prf'
setobj VarTabs vartabs 'prf'
end