DIALOG PIXELS

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > DIALOGS > Dialog Commands >

DIALOG PIXELS

 

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