<ControlName>.CH

<< Click to Display Table of Contents >>

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

<ControlName>.CH

 

Description

 

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

 

Syntax

 

' Set

<controlName>.H = newClientHeight

 

' Get

currentClientHeight = <controlName>.H

 

 

Returns (Get only)

 

Number, height of the control

 

Parameters (Set only)

 

Name

Type

Optional

Meaning

newClientHeight

Number

No

client height of the control

 

Remarks

 

Restrictions

 

See also

 

Examples

 

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

 

' Changing the client height to 100

closeButton.CH = 100