DOUBLE, NOFRAME, RESIZE (set window border)

Top  Previous  Next

 

DOUBLE

NOFRAME

RESIZE

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