Re: Hourglass - screen.cursor or form.cursor?
- From: Chris Cheney <XXChris.CheneyXX@xxxxxxxxx>
- Date: Tue, 28 Mar 2006 19:50:21 GMT
"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
.
- References:
- Hourglass - screen.cursor or form.cursor?
- From: David
- Re: Hourglass - screen.cursor or form.cursor?
- From: Tom de Neef
- Hourglass - screen.cursor or form.cursor?
- Prev by Date: Re: TStringGrid.DrawCell - Not Updating The Correct Cell
- Next by Date: Power arithmetic function to C#
- Previous by thread: Re: Hourglass - screen.cursor or form.cursor?
- Next by thread: array with same value all the time?
- Index(es):