Scout/Concepts/SmartField
From Eclipsepedia
| Scout |
| Wiki Home |
| Website |
| Download • Git |
| Community |
| Forums • Blog • Twitter |
| Bugzilla |
| Bugzilla |
Specific type of value field to use a Smart association (with CodeType or LookupCall).
Contents |
Description
A SmartField gives a selection of available values to the client. The field gets his contents from a CodeType or a LookupCall.
If the client doesn't write something into the SmartField, it will show all available values. (Lookup-Service Statement <all></all>)
If the client write text into the field, it will show all values, which starts with this text. (Lookup-Service Statement <text></text>)
Wildcards like *, % or _ are also possible to write into the SmartField.
The functions:
- setValue(value)
- getValue()
use the key of the CodeType or the LookupCall. (Lookup-Service Statement <key></key>)
Screenshot
| Type | RAP | SWT | Swing | Swing Rayo |
|---|---|---|---|---|
| Without values | | | |
|
| With text | | | |
|
| With text and wildcard | | | |
|
Properties
Defined with getConfiguredXxxxxx() methods.
See also the Field and the Value field pages for the properties that all fields have in common.
BrowseHierarchy: overwrites the property of IsHierarchy of the CodeType. If true the CodeType will be displayed as a tree, if false it will be displayed as a list.
Events
Defined with execXxxxxx() methods.
See also the Field and the Value field pages for the events that all fields have in common.
See Also
- Value field
- Field
- Form
- The corresponding column: SmartColumn
- Type of data supported by Scout in the fields











