Label: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Brendon (talk | contribs)
Created page with "file:Label.jpg '''Description''' The Label control is used to display text and headings. The text cannot be modified. While a variety of different events are available..."
 
Brendon (talk | contribs)
No edit summary
Line 11: Line 11:
'''Properties'''
'''Properties'''


Standard properties are supported (“Properties”), plus:
Standard [[properties|properties]] are supported, plus:
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 23: Line 23:
'''Events'''
'''Events'''


Standard events are supported. See “Events”. However, events are not usually associated with the control.
Standard [[events|events]] are supported. However, events are not usually associated with the control.


'''Related Items'''
'''Related Items'''


[[events|EVENTS]], [[properties|PROPERTIES]]
[[events|EVENTS]], [[properties|PROPERTIES]]

Revision as of 22:45, 24 July 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.

Related Items

EVENTS, PROPERTIES