RCozens wrote: ↑Sun Oct 24, 2021 8:21 pm
If you would like to verify my experience, download the attached stack, click on Scan Image, and after the scan results are displayed, click on Hide Output. The hourglass is displayed in the statement just before "set the dgText of group "Output Group" to empty", and the ticks to execute the command are put in the Message Box"
Hi Rob,
i guess it's important to know what platform you're running on? I'm fairly sure you're on Windows?
On Mac it takes < 2 seconds (69 to 75 ticks), nowhere near what you've been experiencing.
I'm on a 2015 MBP TouchBar 15' running MacOS Big Sur 11.6
I use strict compilation mode, and my IDE did NOT like 'startTime' as a variable name for some reason (perhaps it's used elsewhere), so i changed it to tStartTime after declaring it and it worked well.
Perhaps it's something relating to the windows version of the IDE, or to your system etc. I was not able to replicate on Mac sadly...
Regarding busy cursor: Yes you can! Just use the
spinner widget. Show it before starting your operation and hide it when done. It will spin
You probably want to hide the data grid, show an enlarged version of the widget with some status text in a label or similar an then hide these when done.
HTH
Stam