Index...
Centrallix Documentation
|
widget/hints
hints :: Contains default values and modifier settings for various components
Metadata:
type: | widget/hints |
visual: | no |
container: | no |
form element: | yes |
Overview:
The hints widget stores default values and other component modifying properties.
Usage:
The hints widget can be placed inside of any visual component. Hints do not contain visual widgets.
Properties:
Property | Type | Description |
allowchars |
string |
Defines a set of acceptable characters (e.g. allowchars="0123456789"). |
default |
mixed |
A string or integer that specifies the initial, default, starting value for the component which containing this widget/hints widget. |
style |
string |
Optional: contains a combination of 1 or more items following set {readonly, alwaysdef} separated by a comma if multiple items are chosen. |
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 checkbox which uses widget/hints.
f_trx_mod "widget/checkbox"
{
width=16;
y=4;
readonly=yes;
fieldname="a_modified";
f_trx_mod_h "widget/hints"
{
style=readonly,alwaysdef;
default=1;
}
}
Comments...
(none yet)
Add a Comment...
|