Member attributes: InstantUpdate

This attribute controls the variant behaviour of members depending on the corresponding Style.

Syntax

true

false

Discussion

The attribute InstantUpdate affects initialization expressions involving multi-variant autoobjects, constants, bitmap and font resources which are controlled by a Style, this attribute belongs to.

If this attribute is true, switching on/off the style forces all affected expressions to be reevaluated automatically. Thereupon new variants of involved constants, resources or autoobjects are estimated and used in the application. If this attribute is false, the affected expressions are not updated retaining their old contents until the objects containing the affected data members have been reinstantiated explicitly. The styles are switched on/off by modifying the built-in variable styles.

Modify the attribute

To inspect or modify the value of an InstantUpdate attribute, select first the affected style member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available assistant you can activate by clicking on the button right to the attribute: