<ControlName>.ExStyle

<< Click to Display Table of Contents >>

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

<ControlName>.ExStyle

 

Description

 

Allows assigning/retrieving the exstyle of the control.

 

Syntax

 

' Set

<controlName>.ExStyle = controlExStyle

 

' Get

controlExStyle = <controlName>.ExStyle

 

 

Returns (Get only)

 

Number, control exstyle in form of LONG value

 

Parameters (Set only)

 

Name

Type

Optional

Meaning

controlexStyle

Number

No

complete control exstyle

 

Remarks

 

Restrictions

 

See also

 

Examples

 

control add label name "myTitle", hDlg, %lTitle"", 5, 5, 100, 25

 

' Adds centering to the already present default style

myTitle.ExStyle = myTitle.ExStyle OR %WS_EX_CLIENTEDGE