Format Command
Obsolete
This command is obsolete. This command is valid only in character-mode DataFlex. Refer to the Field Options property in the DataDictionary class.
Purpose
To apply Window and Print Format Options to a range of windows.
Syntax
format window
[
thru window
]
{
[format options]
}
What It Does
The format command applies one or more Window or Print format options to data output through the window. If the optional thru window clause is added, the option(s) may be applied to a range of windows.
format screen.3 {capslock}
This example applies the capslock option to the third window of Image screen.
format body.2 thru body.8 {signrt, float$}
This command formats the second through the eighth windows of Image body with the signrt and float$ options.
The following are the Print (P) and Window (W) format options. Each is described in its own article in this manual.
autobackWautoreturnWcapslockW/Pfill=Pfloat$Pno_calcWpoints=WrequiredWsignrtPsuppressP
Notes
- You may format no more than 20 windows with a single format command.
- Print and window format options may be applied to single windows by placing the option on print command lines, as well as by using the format command.
points=may not be used as a format option onentry_itemcommand lines in any class of object that can be scrolled. The option is supported only in theentry_formclass. If the option is required in classes of other types, it may be applied to windows through the use of the format command.