User Tools

Site Tools


double_noframe_resize_set_window_border_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== DOUBLE, NOFRAME, RESIZE (set window border) ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

DOUBLE

NOFRAME

RESIZE

blk2blue.jpg

The DOUBLE, NOFRAME, and RESIZE attributes specify a WINDOW or APPLICATION border frame style other than the default single-width border. The DOUBLE attribute (PROP:DOUBLE) places a double-width border around the window and the NOFRAME attribute (PROP:NOFRAME) places no border on the window. A window with these frame types may not be resized.

The RESIZE attribute (PROP:RESIZE) places a thick border frame around the window. This is the only type that allows the user to dynamically resize the window. RESIZE is ignored on any WINDOW with the MODAL attribute.

The RESIZE frame type is normally used on APPLICATION structures and WINDOW structures used as document windows, not dialog boxes. NOFRAME is usually used on “hidden” windows used only to activate an ACCEPT loop. DOUBLE is a common dialog box frame type.

Example:

!A Window with a single-width border:

Win1 WINDOW

    END

!A resizable Window:

Win2 WINDOW,RESIZE

    END

!A Window with a double-width border:

Win3 WINDOW,DOUBLE

    END

!A Window without a border:

Win4 WINDOW,NOFRAME

    END

double_noframe_resize_set_window_border_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)