Re: Hourglass - screen.cursor or form.cursor?



"Tom de Neef" <tdeneef@xxxxxxxx> wrote in
news:4427c67a$0$11064$e4fe514c@xxxxxxxxxxxxxx:

<snip>

over whatever control the mouse is. Don't forget to change it back to
crDefault.

But only if it was crDefault in the first place!!!

I use the following

var
SaveCursor: TCursor
begin
SaveCursor := Screen.Cursor; // save cursor
try
Screen.Cursor := crHourglass; // set cursor
...
finally
Screen.Cursor := SaveCursor; // restore cursor
end;


--
For e-mail address, remove the XXs
.