PROP:MaxWidth

Top  Previous  Next

PROP:MaxWidth sets or returns the maximum width of a resizable window.

Regarding REPORT structures, this property can also be used to set or get the maximum value of a target report band’s dimensions.

Example:

WinView WINDOW('View'),AT(0,0,320,200),MDI,MAX,HVSCROLL,SYSTEM,RESIZE,|

        LIST,AT(6,6,120,90),USE(?List),FORMAT('120L'),FROM(Q),IMM

       END

 

CODE

OPEN(WinView)

WinView{PROP:MaxHeight} = 200    !Set boundaries beyond which the user cannot

WinView{PROP:MaxWidth} = 320     ! resize the window

WinView{PROP:MinHeight} = 90

WinView{PROP:MinWidth} = 120

ACCEPT

END