[Lazarus] how to show hourglass on windows 10 with touch screen?
Alexander Hofmann
alexander.hofmann at new-h.de
Fri Jan 25 10:21:25 CET 2019
Hi,
I've been looking for something like this, too, some time ago, and I
decided to go for a self-built solution, to be independent of the
underlying widget-set.
(I grayed-out all important widgets, which can be done automatically by
walking, recursively, through the Controls property, and displayed a
"throbber" with a few spinning dots on top of the form)
Anyway,
Am 24.01.2019 um 21:42 schrieb Luca Olivetti via lazarus:
> If only they provided at least an alternative way to provide feedback
> when the application is busy...
They do, though not for the "classic" style APIs like Win32 or
Windows.Forms. There's an UWP class
(https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Controls.ProgressRing)
I think is intended for this.
See also:
https://stackoverflow.com/questions/44054195/windows-is-there-a-built-in-loading-animation-i-can-reference-as-a-visual-c-r
In Android it's called "Loading Spinner" IMHO and is somewhat
OS-Supplied, although as I saw in many projects, in the end it's mostly
self-built solutions.
A quick search didn't bring up something similar for other widgetsets,
too (at least GTK and Qt don't seem to support it natively ?)
Best regards,
Alex
More information about the lazarus
mailing list