User Tools

Site Tools


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

PROP:MinWidth sets or returns the minimum width of a resizable window. Also sets the minimum width of TAB controls in a SHEET.

Regarding REPORT structures, this property can also be used to set or get the mimimum 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_minwidth.htm.txt · Last modified: 2021/04/15 15:57 (external edit)