StdFormLoadBoundValues event

Occurs after an object has become the current object in the current collection and before form components have loaded their values from their data sources. Thus the event occurs during the execution of most standard operations, such as navigation of a collection or subcollection and the Save, Refresh, and New operations. The event also occurs after the user clicks one of the following on the Edit menu: Find Value in Collection, Replace Value in Collection, Sort Collection, Add Value for Current Field, or Find Value for Current Field.

In the default implementation, all bound components retrieve data from their sources based on their data binding specifications.

Your application can call the default implementation by generating the event but cannot cancel the default implementation by returning a failure value.

Remarks

You can use the event to implement your own binding, in which your application moves data between a temporary data store of some type and a particular component. When the event is generated, your handler should retrieve the value from the data store and place it in the component.

Because the event occurs in many WinStudio operations of various kinds, you should exercise caution in overriding the default implementation with custom event handlers.

Related topics