Progress
Programming
Handbook
Applying Formats When Displaying Widgets
When you view a value as text, a fill-in, a toggle box, combo box, or a radio set, you can specify a format. Progress supports character, numeric, logical, and date formats for these widgets:
- Character, numeric, and date formats determine how many spaces and special characters (such as dollar signs and decimal points) Progress uses when displaying the text that appears in text widgets, fill-ins and radio sets. For the fill-in, the format also establishes a constraint on the data that the user can enter.
- A logical format determines the strings that Progress uses when it displays the logical values TRUE and FALSE. Logical formats are used with text, fill-ins, and toggle boxes. For fill-ins, the format also establishes a constraint on the data the user can enter.
You can specify more than one format for a widget as long as you display the widget in a new frame each time you introduce a new format.
This section explains how to specify a display format within a Progress procedure. See the Progress Database Design Guide for information on specifying a format in the database.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |