Futurebasic/Language/Reference/maxwindow

Description
Sets a limit on how large the user can make a window by dragging its "grow box." After  is executed, the user will not be able to drag the window's size wider than  pixels nor taller than   pixels (these dimensions refer to the window's "content region"; they don't include the "structure region" (frame) of the window). The statement applies to all currently open windows and all subsequently opened windows, until another   statement is executed.

does not apply to windows which don't have a grow box. Also, it does not limit the dimensions of a window which is resized by clicking its "zoom box" (see the  statement to learn how to do this).

If there is any currently open window (with a grow box) whose dimension(s) exceed and/or ,   will not shrink it immediately. The window will shrink the next time the user clicks on its grow box.

Note: If you need to apply different size limits to each of several open windows, then you will need to execute each time such a window becomes active. In your dialog-event handling function, watch for the  event, then execute   with the appropriate parameters depending on which window has become active. See the  function for more information.