Progress
Language Reference
CLEAR Statement
Clears the data and colors (and side labels for a down frame) for all fill-in fields in a frame.
SYNTAX
FRAME frame
Represents the name of the frame containing the fill-in fields you want to clear. If you do not name a frame, CLEAR clears the default frame for the block containing the CLEAR statement.
ALL
Clears all occurrences and resets the current display position to the top of the frame for a down frame (a frame used to display several occurrences of the fields in the frame).
NO-PAUSE
Does not pause before clearing the frame.
EXAMPLEThe
r-clear.p
procedure displays the Progress data types and their corresponding default formats. The procedure prompts you to enter values so you can see how Progress formats those values. If you answer YES, Progress clears the values currently displayed so that you can enter new values.
NOTES
- The CLEAR statement only clears fill-in fields. GUI widgets such as editors or radio-sets are not affected.
- Progress automatically clears a single (1 down) frame whenever its block is iterated. Progress automatically clears a multi-frame (down frame) whenever it is full and its block where it is iterated.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |