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

dopt_represent_on_map

true

View

Immediately before the View is made visible, the data values are fetched from the Model components and set on the View object.

dopt_represent_on_init

false

View

During object initialization (:init method), the data values are retrieved and set on the View object.

dopt_apply_on_unmap

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.

dopt_apply_on_event

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.

dopt_propagate_on_start

true

Model

When a dialog or module is started, the data from the Model objects is forwarded to the linked View components.

dopt_propagate_on_changed

true

Model

Modifications to a Model attribute are forwarded to the linked View components.

dopt_cache_data

true

Model

This index value is only available for the doccursor.

true

The data selected by the doccursor is buffered for further accesses (caching).

false

With each access, the doccursor selects the data anew from the XML Document.

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

Since IDM version A.06.01.a

See also

Chapter “Synchronization Between Model and View” in manual “Programming Techniques”