Navigation:  ThinBASIC Modules > UI (User Interface) > Additional Controls and Functions > Canvas Control >

Canvas_SetVirtual

Previous pageReturn to chapter overviewNext page

 

Description

 

Expands the current canvas target into virtual mode.

 

Syntax

 

n = Canvas_SetVirtual(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