<<

Contents

Search

>>

 

#MAINSIZE

 

 

Compiler Instruction

 

 

Syntax:

#MAINSIZE = <Number of Rows>,<Number of Columns> [,<Pixel Location vertical>,<Pixel Location horizontal>]

 

<Number of Rows>

= <NUMBER>

<Number of Columns>

= <NUMBER>

<Pixel Location vertical>

= <NUMBER>

<Pixel Location horizontal>

= <NUMBER>

 

Meaning:

Specifies the size and location of the main window in pixel.

 

Note: This compiler instruction has with Java programs an effect only when the program is started for the first time or with #NOINI.

 

In Html programs this compiler instruction has always an effect. <Pixel Location vertical> and <Pixel Location horizontal> specify the distance of the main window from the upper left corner of the browser window. If these parameters are missing or a parameter has a value < 0 then the standard distance of 8 pixel applies.

 

Parameter:

Number of Rows

Height of main window in rows

Number of Columns

Width of main window in columns

Pixel Location vertical

Vertical pixel location of main window

Pixel Location horizontal

Horizontal pixel location of main window

 

Sample:

#MAINSIZE = 32,90,100,20

 

See also:

SET_MAINSIZE

GET_MAINSIZE

MAINSIZE

#NOINI