[Lazarus] Changing the cursor to hourglass then to default

Antonio Fortuny a.fortuny at sitasoftware.lu
Fri Sep 20 16:03:37 CEST 2013


Le 20/09/2013 15:47, Richard Mace a écrit :
> Hi,
> I am trying to change the cursor in my app to busy and then default, 
> when it is going to be busy for a bit.
> I have changed to cursor := crHourglass and then back to crDefault at 
> the end, but the cursor doesn't update.
*Screen.*Cursor := crHourGlass;
try
   ...
finally
*Screen.*Cursor := crDefault;
end;

works fine for me in all platforms.

Antonio.

> Even if I put application.processmessages in (after the crHourglass bit).
>
> Any ideas?
>
> Richard
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130920/cd4025b1/attachment-0003.html>


More information about the Lazarus mailing list