'MAXSIZE' & 'MINSIZE' |
Window Resize User Limit |
GUI Display
1. |
User's Maximum Setting: |
'MAXSIZE'(width,height) |
2. |
User's Minimum Setting: |
'MINSIZE'(width,height) |
Where:
width,height |
Size limits on the user's permission to resize a window. Width in columns, height in lines. Numeric expression. |
Use 'MAXSIZE' and 'MINSIZE' to limit the maximum and minimum a window can be resized by the user when dragging the window's edge. These mnemonics only affect the window size that the user can set, not what the program sets as the size. They have no effect on the 'SIZE' mnemonic.
'SIZE' Control Visual Size of Window
In this example, the user is limited to resizing the scrollable dialogues display area by reducing it to a minimum of 5 columns by 5 lines or increasing it to a maximum of 40 columns by 15 lines:
print 'dialogue'(1,1,80,25,"Title",'CS',opt="Z")
print 'size'(30,10),
print 'minsize'(5,5),
print 'maxsize'(40,15)