<ControlName>.Y

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Pseudo-object Methods and Properties >

<ControlName>.Y

 

Description

 

Allows assigning/retrieving the y component of the position of the control specified via control variable.

 

Syntax

 

' Set

<controlName>.Y = coordinateY

 

' Get

coordinateY = <controlName>.Y

 

 

Returns (Get only)

 

Number, y-coordinate of the control

 

Parameters (Set only)

 

Name

Type

Optional

Meaning

coordinateY

Number

No

y component of the position of the control

 

Remarks

 

Restrictions

 

See also

 

Examples

 

control add button name "closeButton", hDlg, %IDCANCEL"", 5, 5, 100, 25

 

' Moving the control to 10 pixels from the top in the client area

closeButton.Y = 10