MAXIMIZE

MAXIMIZE N

MAXIMIZES THE SIZE OF FORM NUMBER N

  • Type: Command
  • Parameter: 1
  • Group: System Objects

ACTION

The command MAXIMIZE N maximizes the system object designated by its number N.

The system object N is a FORM.

SYNTAX: MAXIMIZE N

  • N = system object number (integer or real). Must be greater than 0 and less than or equal to the allowed maximum number of system objects.

USE

  • The command MAXIMIZE is used to maximize a FORM.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the allowed maximum number of system objects.
  • If number N is less than 0.
  • If system object number N does not exist.
  • If number N is not the number of a FORM.

EXAMPLE

rem place FORM0

top 0,20:left 0,100

rem resize FORM0

width 0,200:height 0,400

wait 2000

caption 0,"maximized"

maximize 0

wait 2000

caption 0,"minimized"

minimize 0

wait 2000

caption 0,"normal"

normal 0

SEE ALSO

FORM

MINIMIZE

NORMAL