Explicit OnLoaded and OnReloaded events would be great.
A suitable alternative if its less work on your end would be DDs that set the following attributes when applied to a UI Object.
Text = Value
Press = Value
Activate = Value
For OnLoaded, Value is a BOOL initially set to "false" then changed to "true" when the UI has finished loading/rendering.
For OnReloaded, Value is a BOOL initially set to "false" then changed to "true" for 1 standard DD tick. After that tick, it flips back to "false" so its ready to signal another reload.
And of course when the DD values change, they should fire the corresponding event, onTextChanged, onPress, onActivate, onDeactivate.
|