<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Pseudo-object Methods and Properties > <ControlName>.Style |
Description
Allows assigning/retrieving the style of the control.
Syntax
' Set
<controlName>.Style = controlStyle
' Get
controlStyle = <controlName>.Style
Returns (Get only)
Number, control style in form of LONG value
Parameters (Set only)
Name |
Type |
Optional |
Meaning |
controlStyle |
Number |
No |
complete control style |
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.Style = myTitle.Style OR %SS_CENTER