<ControlName>.H

<< Click to Display Table of Contents >>

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

<ControlName>.H

 

Description

 

Allows assigning/retrieving the height of the control specified via control variable.

 

Syntax

 

' Set

<controlName>.H = newHeight

 

' Get

currentHeight = <controlName>.H

 

 

Returns (Get only)

 

Number, height of the control

 

Parameters (Set only)

 

Name

Type

Optional

Meaning

newHeight

Number

No

height of the control

 

Remarks

 

Restrictions

 

See also

 

Examples

 

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

 

' Changing the height to 100

closeButton.H = 100