Good Day!
I am experimenting with ASync=1 / RetrieveRow scripted so that my users can cancel long-running retrieval.
It works, beautifully, but I have not been able to get SetPointer( AppStarting! ) to hold its image. This means the user has no "normal" visual indicator that things are happening behind the scenes. I do have the cancel button enabled, so a super user would figure it out. But it would be nice if the pointer could hold its image until the process ends.
- ASync is set to 1
- SetPointer( AppStarting! )
- n_ds.Retrieve( ) - IMPORTANT: This is a stored procedure DataWindow.
- RetrieveRow has code in it to check for user cancellation.
- Retrieval either finishes or is cancelled by the user.
The issue is that the pointer goes right back to an Arrow as soon as the Retrieve starts.
My guess is that ASync is, understandably, interrupting the process that would have caused the pointer to stay put until the overall process ends.
Is there a way to force the pointer to stay as AppStarting! until the script ends or I programmatically switch it?
Thanks,
Tom
If you want SP to display AppStarting! Pointer and can be canceled at any time when gathering data, sorry that there is no better way to control it for now.
I suggest you not use the mouse arrow, instead, popup a small window with only one gif pic which shows Retrieve Data…
When retrievestart, this window popups. When retrieveend, close this window.
Regards,
Ken
If you want SP to display AppStarting! Pointer and can be canceled at any time when gathering data, sorry that there is no better way to control it for now.
I suggest you not use the mouse arrow, instead, popup a small window with only one gif pic which shows Retrieve Data…
When retrievestart, this window popups. When retrieveend, close this window.
Regards,
Ken