| 
       HIDE  STREAM stream  STREAM-HANDLE handle 
        widget-phrase MESSAGE ALL NO-PAUSE IN WINDOW window | 
| 
       DEFINE VARIABLE selection AS INTEGER NO-UNDO FORMAT "9".
        FORM "Please Make A Selection:" SKIP(2) " 1. Hide Frame A. " SKIP " 2. Hide Frame B. " SKIP " 3. Hide All. " SKIP " 4. Hide This Frame " SKIP " 5. Exit " SKIP(2) WITH FRAME X NO-LABELS. REPEAT: VIEW FRAME x. DISPLAY "This is frame A." WITH FRAME a ROW 1 COLUMN 60. DISPLAY "This is frame B." WITH FRAME b ROW 16 COLUMN 10 4 DOWN. MESSAGE "Make your selection!". UPDATE "Selection: " selection VALIDATE(0 < selection AND selection < 7, "Invalid selection") AUTO-RETURN WITH FRAME x. IF selection = 1 THEN HIDE FRAME a. ELSE IF selection = 2 THEN HIDE FRAME b. ELSE IF selection = 3 THEN HIDE ALL. ELSE IF selection = 4 THEN HIDE FRAME x. ELSE IF selection = 5 THEN LEAVE. PAUSE. END. | 
 When a block iterates, any display frame that is scoped to the block or to a nested block is tagged for hiding (unless you have used the NO-HIDE option in the Frame phrase), but is not hidden. Then, the first frame activity of the next iteration (a DISPLAY, INSERT, PROMPT-FOR, SET, VIEW, or UPDATE statement) for a frame scoped to the block or to a nested block causes all tagged frames to be hidden.
When a block iterates, any display frame that is scoped to the block or to a nested block is tagged for hiding (unless you have used the NO-HIDE option in the Frame phrase), but is not hidden. Then, the first frame activity of the next iteration (a DISPLAY, INSERT, PROMPT-FOR, SET, VIEW, or UPDATE statement) for a frame scoped to the block or to a nested block causes all tagged frames to be hidden.
   Frames displayed by procedures within a block or within a nested block are treated the same as other frames in a nested block.
Frames displayed by procedures within a block or within a nested block are treated the same as other frames in a nested block.
   When the AVM displays a frame and there is not enough room in the window, it automatically hides one or more frames. Frames are hidden one at a time, starting with the lowest frame in the window, until there is room to fit the new frame.
When the AVM displays a frame and there is not enough room in the window, it automatically hides one or more frames. Frames are hidden one at a time, starting with the lowest frame in the window, until there is room to fit the new frame.
   It is more efficient to HIDE ALL than to HIDE each frame individually.
It is more efficient to HIDE ALL than to HIDE each frame individually.
   If you hide a PAGE-TOP or PAGE-BOTTOM frame, it is removed from the list of active frames for printing at the top or bottom of each page.
If you hide a PAGE-TOP or PAGE-BOTTOM frame, it is removed from the list of active frames for printing at the top or bottom of each page.
   If you are working in a PAGE-TOP or PAGE-BOTTOM frame, use the VIEW or DISPLAY statement to activate that frame. The VIEW statement does not display a PAGE-TOP or PAGE-BOTTOM frame. It activates the frame so that when a new page begins or ends, the AVM displays the frame. If you use the HIDE statement to hide a PAGE-TOP or PAGE-BOTTOM frame, the AVM deactivates that frame so that it can no longer be displayed unless it is reactivated with a VIEW or DISPLAY statement.
If you are working in a PAGE-TOP or PAGE-BOTTOM frame, use the VIEW or DISPLAY statement to activate that frame. The VIEW statement does not display a PAGE-TOP or PAGE-BOTTOM frame. It activates the frame so that when a new page begins or ends, the AVM displays the frame. If you use the HIDE statement to hide a PAGE-TOP or PAGE-BOTTOM frame, the AVM deactivates that frame so that it can no longer be displayed unless it is reactivated with a VIEW or DISPLAY statement.
   If output is not directed to the terminal, HIDE has no effect on the terminal display.
If output is not directed to the terminal, HIDE has no effect on the terminal display.
   In batch mode, the HIDE statement produces an error. If you want to remove the contents of a frame, use the CLEAR statement instead.
In batch mode, the HIDE statement produces an error. If you want to remove the contents of a frame, use the CLEAR statement instead.
   You can use HIDE MESSAGE to hide a message.
You can use HIDE MESSAGE to hide a message.
   If you invoke the HIDE statement for a field-level widget or child frame, the HIDDEN attribute of the specified field-level widget or child frame is also set to TRUE. However, if you invoke the HIDE statement for a child window, the HIDDEN attribute of the child window is unaffected.
If you invoke the HIDE statement for a field-level widget or child frame, the HIDDEN attribute of the specified field-level widget or child frame is also set to TRUE. However, if you invoke the HIDE statement for a child window, the HIDDEN attribute of the child window is unaffected.
   When you HIDE a visible window, any visible descendant windows are hidden also (including iconified descendants), but any visible ancestor windows remain unaffected. However, if you HIDE a window whose HIDDEN attribute is currently set to TRUE, its descendant windows remain unaffected.
When you HIDE a visible window, any visible descendant windows are hidden also (including iconified descendants), but any visible ancestor windows remain unaffected. However, if you HIDE a window whose HIDDEN attribute is currently set to TRUE, its descendant windows remain unaffected.