Skip to content

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.

  • autoback W
  • autoreturn W
  • capslock W/P
  • fill= P
  • float$ P
  • no_calc W
  • points= W
  • required W
  • signrt P
  • suppress P

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 on entry_item command lines in any class of object that can be scrolled. The option is supported only in the entry_form class. If the option is required in classes of other types, it may be applied to windows through the use of the format command.