|
The Label class is derived from the
Control class.
access function: GetLabel(name)
| Attribute |
Access |
Type |
Description |
| caption |
R/W |
string |
the caption |
| color |
R/W |
string |
the color, 'red','blue', '0xffffff' |
| font |
R |
Font |
the font object for accessing the controls font
attributes |
| alignment |
R/W |
int |
0=Left, 1=Right, 2=Center |
| autosize |
R/W |
bool |
width/height autosize, normally used in
conjunction with center/right alignment |
| onClick |
W |
callback |
called when user clicks the control |
|