Syntax
ToolsOptionsGeneral [.Pagination = number] [, .WPHelp = number] [, .WPDocNavKeys = number] [, .BlueScreen = number] [, .ErrorBeeps = number] [, .Effects3d = number] [, .UpdateLinks = number] [, .SendMailAttach = number] [, .RecentFiles = number] [, .RecentFileCount = number] [, .Units = number] [, .ButtonFieldClicks = number] [, .ShortMenuNames = number] [, .RTFInClipboard = number]
[, .ConfirmConversions = number] [, .TipWizardActive = number]
Remarks
Sets general options. The arguments for the ToolsOptionsGeneral statement correspond to the options on the General tab in the Options dialog box (Tools menu).
Argument | Explanation | |
.Pagination | If 1, allows background repagination. | |
.WPHelp | If 1, enables WordPerfect Help (ignored on the Macintosh). |
Argument | Explanation | |
.WPDocNavKeys | If 1, enables WordPerfect document navigation keys (ignored on the Macintosh). | |
.BlueScreen | If 1, changes the document window to display white text on a blue background. | |
.ErrorBeeps | If 1, Word beeps when an action occurs that generates an error. | |
.Effects3d | If 1, Word displays dialog boxes with three-dimensional effects. This argument is ignored in Word version 7.0. | |
.UpdateLinks | If 1, automatically updates linked information when you open documents. | |
.SendMailAttach | If 1, the Send command (File menu) sends the active document as an attachment instead of text in an electronic mail message. | |
.RecentFiles | If 1, lists recently used files above the Exit command on the File menu. | |
.RecentFileCount | A number from 1 to 9 corresponding to the maximum number of recently used files you want to be listed. | |
.Units | Sets the default unit of measurement: 0 (zero) Inches 1 Centimeters 2 Points 3 Picas | |
.ButtonFieldClicks | Sets the number of clicks (1 or 2) required to run a macro with a MACROBUTTON field. | |
.ShortMenuNames | If 1, on the Macintosh, substitutes "Ins" for "Insert," "Fmt" for "Format," and "Wnd" for "Window" on the menu bar. In Windows, this argument produces an error. | |
.RTFInClipboard | If 1, on the Macintosh, text copied to the Clipboard retains its character and paragraph formatting. In Windows, this argument produces an error. | |
.ConfirmConversions | If 1, displays the Convert File dialog box if the file you want to open is not in Word format. This argument is available only in Word version 7.0. | |
.TipWizardActive | If 1, activates the TipWizard. If the TipWizard is already activated, resets the TipWizard (the TipWizard may display This argument is available only in Word verison 7.0. |
Example
Before opening TEST.DOC, this example ensures that no filename will be "bumped off" the list of recently used files when changes are saved to TEST.DOC (unless the list already contains the maximum of nine filenames):
Dim dlg As ToolsOptionsGeneral GetCurValues dlg num = CountFiles() If num < 9 Then num$ = LTrim$(Str$(num)) If dlg.RecentFileCount = num$ Then dlg.RecentFileCount = num + 1 ToolsOptionsGeneral dlg End If End If FileOpen .Name = "TEST.DOC"
See Also
Beep, CountFiles(), HelpWordPerfectHelpOptions, ToolsRepaginate