home *** CD-ROM | disk | FTP | other *** search
- /* ------------------------------------------------------------------ */
- /* Macro: CFGMISC.AML */
- /* Written by: nuText Systems */
- /* */
- /* Description: This macro displays a configuration dialog box for */
- /* miscellaneous editing options. */
- /* ------------------------------------------------------------------ */
-
- include bootpath "define.aml"
-
- var cset
- var tilesplit
- var menucursor
-
- // create dialog box
- dialog "Miscellaneous Options" 44 11 "cp"
-
- // default word char set
- field "&Default Char Set for Words: " 3 2 28 _CSet
-
- // number of tiles before second orthogonal split
- field "&Tile Split Threshold: >" 3 5 5 _TileSplit
-
- // hardward cursor on menus
- groupbox 'Hardware Cursor on Menus:' 3 7
- (menu ''
- item " ( ) &Hidden"
- item " ( ) &Insert Cursor Size"
- item " ( ) &Overstrike Cursor Size "
- end) '' (if? _MenuCursor _MenuCursor 'h') "hio"
-
- // ok/cancel buttons
- button "O&k" 34 3 8
- button "Cancel" 34 5 8
-
- // display dialog box
- if (getdialog ref cset ref tilesplit ref menucursor) == 'Ok' then
- setobj CSet cset 'prf'
- setobj TileSplit tilesplit 'prf'
- setobj MenuCursor menucursor 'prf'
- // change actual menucursor immediately
- setmenucurs menucursor
- end
-
-