2.76 .dataoptions[enum]
This attribute defines the automatic synchronization between the Model and View components.
Definition
-
Data type
boolean
-
Access
get, set
-
changed event
no
Attribute Index |
Default |
Component |
Meaning |
---|---|---|---|
true |
View |
Immediately before the View is made visible, the data values are fetched from the Model components and set on the View object. |
|
false |
View |
During object initialization (:init method), the data values are retrieved and set on the View object. |
|
false |
View |
Immediately before the View is made invisible, the data values are fetched from the View object and assigned to the linked Model components. |
|
false |
View |
If a user interaction triggers a dialog event which indicates a possible change of a View attribute, this is assigned to the linked Model components. |
|
true |
Model |
When a dialog or module is started, the data from the Model objects is forwarded to the linked View components. |
|
true |
Model |
Modifications to a Model attribute are forwarded to the linked View components. |
|
true |
Model |
This index value is only available for the doccursor. |
This attribute exists on all object classes that allow user-defined attributes, but possibly not with all indexes. The indexes dopt_apply_on_unmap, dopt_represent_on_map and dopt_apply_on_event are available on visual objects only.
Availability
See also
Chapter “Synchronization Between Model and View” in manual “Programming Techniques”