ICallingContext.Refresh Method
Exception type | Condition |
---|---|
If refreshing of this calling context is not supported or doesn't make sense. Refreshing of an estimate context is always guaranteed, for example. |
A calling context is created, initialized and passed to a macro, when the macro is started. Normally, it contains the UI status
and user selection which doesn't change during the macro execution. However, there may be cases when the user can interact with QDV
and the macro needs to know the changed context. For example, the macro opens a non-modal form, in which case the user can get back
to QDV, select a different tab, row or column. Calling this method will allow the macro the get the new selection.
The following properties are never refreshed with this method: ICommonCallingContext.CallingEventName, ICommonCallingContext.IsFromEventMacro, ICommonCallingContext.IsForeignMacro, ICommonCallingContext.MustCancel, ICommonCallingContext.UserDefinedObject, QdvManager.
Available since QDV 7.23.1042.