|
 |
|
NOTE: This Design document is subject to change at any time. |
Label
Syntax: <LABEL property-list>Caption</LABEL>
A Label is used to display static text on the screen. Labels in zApp can contain a limited amount of HTML, and can even include gradient background fills, making them useful as section headings.
Labels can also contain Template strings (see zTemplate for syntax details), which is useful when the DataSource has been set but you want to refer to multiple data fields in the label. For example:
Label.Caption = "{#CustomerID#}: {#CustomerName#}"
would produce labels in the format "nnn: name" where nnn is the customerid field value and name is the customername field value.
When using templates with a Datasource, the label is automatically updated when the data source changes. Otherwise, to update a template label, call the Update method. |
|