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/clock


clock :: A simple clock widget which displays the current time on the client.

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


Overview:

The clock widget displays the current time on the client computer, and is very configurable in terms of appearance.


Usage:

The clock widget can be used inside of any container capable of having visual subwidgets. It may contain no widgets other than any applicable connectors.


Properties:

PropertyTypeDescription
ampm yes/no Whether to show "AM" and "PM", default is 'yes' if 'hrtype' is 12, and cannot be set to 'yes' if 'hrtype' is 24.
background string An image for the background of the clock widget. Should be an ObjectSystem path.
bgcolor string A color, either named or numeric, for the background of the clock. If neither bgcolor nor background are specified, the clock is transparent.
fgcolor1 string A color, either named or numeric, for the foreground text of the clock.
fgcolor2 string A color, either named or numeric, for the foreground text's shadow, if 'shadowed' is enabled.
height integer The height of the clock, in pixels.
hrtype integer Set to 12 for a 12-hour clock, or to 24 for military (24-hour) time.
seconds integer Whether or not the seconds should be displayed. Default is 'yes'.
shadowed yes/no Whether or not the clock's text has a shadow. Default is 'no'.
shadowx integer The horizontal offset, in pixels, of the shadow.
shadowy integer The vertical offset, in pixels, of the shadow.
size integer The size, in points, clock's text.
width integer The width of the clock, in pixels.
x integer The X location of the left edge of the widget. Default is 0.
y integer The Y location of the top edge of the widget. Default is 0.


Events:

EventDescription
MouseUp This event occurs when the user releases the mouse button on the widget.
MouseDown This event occurs when the user presses the mouse button on the widget. This differs from the 'Click' event in that the user must actually press and release the mouse button on the widget for a Click event to fire, whereas simply pressing the mouse button down will cause the MouseDown event to fire.
MouseOver This event occurs when the user first moves the mouse pointer over the widget. It will not occur again until the user moves the mouse off of the widget and then back over it again.
MouseOut This event occurs when the user moves the mouse pointer off of the widget.
MouseMove This event occurs when the user moves the mouse pointer while it is over the widget. The event will repeatedly fire each time the pointer moves.




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