Navigation:  thinBasic Modules > UI (User Interface) > DIALOGSs >

DIALOG PIXELS

Previous pageReturn to chapter overviewNext page

 

Description

 

Convert pixels into dialog units.

 

Syntax

 

DIALOG PIXELS hwnd, x, y TO UNITS VarX, VarY

 

Returns

 

None

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the dialog

x

Number

No

x pixel

y

Number

No

y pixel

VarX

Variable

No

A single existing variable name that will receive the converted x.

VarY

Variable

No

A single existing variable name that will receive the converted y.

 

Remarks

 

Restrictions

 

See also

 

Examples