Label: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[file:Label.jpg]] | [[file:Label.jpg]] | ||
== Description == | |||
The Label control is used to display text and headings. The text cannot be modified. | The Label control is used to display text and headings. The text cannot be modified. | ||
Line 9: | Line 9: | ||
To add a Label to your app, choose the Label icon in the Toolbar, then position it on the Design Screen. Use the Property Editor to set the properties you need. | To add a Label to your app, choose the Label icon in the Toolbar, then position it on the Design Screen. Use the Property Editor to set the properties you need. | ||
== Properties == | |||
Standard [[properties and methods|properties]] are supported, plus: | Standard [[properties and methods|properties]] are supported, plus: | ||
Line 21: | Line 21: | ||
|} | |} | ||
== Events == | |||
Standard [[events|events]] are supported. However, events are not usually associated with the control. | Standard [[events|events]] are supported. However, events are not usually associated with the control. | ||
[[Category:Language Reference]] |
Revision as of 16:41, 17 August 2012
Description
The Label control is used to display text and headings. The text cannot be modified.
While a variety of different events are available, the usual response to clicking a command button is to call the function <buttonID>_onclick().
To add a Label to your app, choose the Label icon in the Toolbar, then position it on the Design Screen. Use the Property Editor to set the properties you need.
Properties
Standard properties are supported, plus:
Caption | The caption of the label. Same as textContent. Runtime only. |
innerHTML | The text of the title. May include HTML. |
textContent | The text of the title. Text Only. |
Events
Standard events are supported. However, events are not usually associated with the control.