Canvas_SetAutoSize

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Canvas Control > Canvas Control Commands >

Canvas_SetAutoSize

 

Description

 

Expands the current canvas target into autosize mode.

 

Syntax

 

n = Canvas_SetAutoSize(Width, Height [, UserSize])

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

Width

Number

No

Width in pixel of the virtual area

Height

Number

No

Height in pixel of the virtual area

UserSize

Number

Yes

Parameter apply only if the target canvas is a Window. Not applicable to Canvas controls

%TRUE or %FALSE or can be omitted.

If %TRUE an attached graphic window is displayed with a thick frame, which allows the user to drag the edges to a new size at any time.

 

Remarks

 

Restrictions

 

See also

 

Examples