poIResultCtrl CancelLoading
Cancels all loading associated with this result control.
Syntax
poIResultCtrl_handle CancelLoading
Application
HyperView Tcl Modify
Description
This command, valid only in Upfront Data Loading Mode, cancels all pending load tasks associated with this result control. Returns Success (0) if cancelling was successful or Warning (2) if there was a problem during cancelling.
Example
hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetModelHandle model [client GetActiveModel]
model GetResultCtrlHandle rc
rc CancelLoading
hwi CloseStack
Errors
Returns an error code if there was an error in cancelling and sets error condition on the session handle. See session_handle GetError.
Related Topics
See the Upfront Data Loader APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.