June 2006
Intermediate to advanced
1344 pages
42h 52m
English
Labels provide text information (as well as optional images) and are defined with class Label (a derived class of Control). A Label displays text that the user cannot directly modify. A Label’s text can be changed programmatically by modifying the Label’s Text property. Figure 13.17 lists common Label properties.
| Common Label properties | Description |
|---|---|
| Font | The font of the text on the Label. |
| Text | The text on the Label. |
| TextAlign | The alignment of the Label’s text on the control—horizontally (left, center or right) and vertically (top, middle or bottom). |
A textbox (class TextBox) is an area in which text can be displayed by a program or the user can type text via the keyboard. A password ...
Read now
Unlock full access