| Mnemonics |
|
| GUI Display | ||
| Format | User's Maximum Setting: ‘MAXSIZE'(width,height) 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. | |
| Description | 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. | |
| *Note* | The values you use for 'MINSIZE' must not exceed the values for 'MAXSIZE'. By default, 'MINSIZE' is set to 0,0 and 'MAXSIZE' is set to the originally-defined window size. If you set 'MAXSIZE'(0,0), then the total defined window size is used. | |
| Example | In the example below, 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 a maximum of 40 columns by 15 lines: 0010 PRINT 'DIALOGUE'(1,1,80,25,"Title",'CS',OPT="Z") 0020 PRINT 'SIZE'(30,10), 0030 PRINT 'MINSIZE'(5,5), 0040 PRINT 'MAXSIZE'(40,15), |
|