User Tools

Site Tools


prop_maxwidth.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:MaxWidth ====== Previous pageReturn to chapter overviewNext page

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

prop_maxwidth.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1