Centrallix - It's Different than what you Think
Home   |   Technology   |   Screen Shots   |   Download   |   Documentation   |   History   |   For Developers

Search...


Search For:

Index...


Centrallix Documentation
1. Getting Started
2. Applications Overview
3. Application Components
4. Reports Overview
5. Report Components
6. SQL Language
7. Process Modeling
8. Application Modeling
9. Role-Based Security
10. Business Logic Modeling
11. Other Objects
12. External API's
13. Internal API's

widget/label


label :: Form element capable of displaying text in a child window

Metadata:
type:widget/label
visual: yes
container: no
form element: yes


Overview:

The label widget is used to display a non-editable string of text. It displays as a simple label.

A label can be used as a form element; to do this, specify a fieldname, and optionally a form.

A label can behave like a "link": to do this, specify a point_fgcolor and a click_fgcolor.


Usage:

The label widget can be placed inside of any visual container, and will attach itself to any form widget that contains it (whether directly or indirectly). Labels may not contain visual widgets.


Properties:

PropertyTypeDescription
align string Describes how the text should align in the label (e.g. right).
font_size integer (e.g. 16, default: 12).
form string The name of the form that this label is associated with.
fieldname string The name of the column in the datasource that will be used to supply the text of the label.
fgcolor string The color (named or #numeric) of the text in the label.
point_fgcolor string The color (named or #numeric) of the text in the label when the user hovers the mouse over the label.
click_fgcolor string The color (named or #numeric) of the text in the label when the user clicks on the label.
style string (e.g. bold).
text string The text that the label is to display.
valign string Describes how the text should align vertically within the label (e.g. top, middle, or bottom).
value string This property allows a runclient() expression to dynamically supply the text to display in the label.
width integer The width of the label.
x integer x-coordinate of the upper left corner of the checkbox, default is 0.
y integer y-coordinate of the upper left corner of the checkbox, default is 0.


Child Properties:

none currently available

Actions:

none currently available

Events:

none currently available

Client Properties:

none currently available

Sample Code:

$Version=2$
// Here is a label.
f_trx_mod_l "widget/label" { width=86; text="User Edit?"; align=right; font_size=16; }




Comments...


(none yet)

Add a Comment...


Your Name:
Comment:


(c) 2001-2020 LightSys Technology Services, Inc. All trademarks are property of their respective owners.

Project Hosting Provided By:
Hosted by Sourceforge