Re: Hourglass - screen.cursor or form.cursor?
- From: David <david@xxxxxxxxxx>
- Date: Mon, 27 Mar 2006 14:13:47 +0100
On Mon, 27 Mar 2006 13:03:19 +0200, "Tom de Neef" <tdeneef@xxxxxxxx>
wrote:
"David" <david@xxxxxxxxxx> schreef in bericht
news:80ff22dktdsckoth22k3gnl1ejvvfr9j6t@xxxxxxxxxx
When my program is saving some data to the hard drive (and also during
some calculations), I want to make sure the hourglass is displayed.
Should I use form.cursor or screen.cursor? What is the difference?
Tform.cursor is derived from Tcontrol.cursor. It is specific to that
control. When the mouse moves away from the control another cursor is
selected. This is relevant when your application can have more than one form
open when you change the cursor. So, for the case you describe,
screen.cursor is your choice. It applies to the application, over whatever
control the mouse is. Don't forget to change it back to crDefault.
Many thanks, that's what I thought but wasn't too sure.
.
- 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: Hourglass - screen.cursor or form.cursor?
- Next by Date: Re: Canon Printer SDK
- Previous by thread: Re: Hourglass - screen.cursor or form.cursor?
- Next by thread: Re: Hourglass - screen.cursor or form.cursor?
- Index(es):
Relevant Pages
|