Re: Hourglass - screen.cursor or form.cursor?
- From: "Tom de Neef" <tdeneef@xxxxxxxx>
- Date: Mon, 27 Mar 2006 13:03:19 +0200
"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.
Tom
.
- Follow-Ups:
- Re: Hourglass - screen.cursor or form.cursor?
- From: Chris Cheney
- Re: Hourglass - screen.cursor or form.cursor?
- From: David
- Re: Hourglass - screen.cursor or form.cursor?
- References:
- Hourglass - screen.cursor or form.cursor?
- From: David
- Hourglass - screen.cursor or form.cursor?
- Prev by Date: Hourglass - screen.cursor or form.cursor?
- Next by Date: Re: Hourglass - screen.cursor or form.cursor?
- Previous by thread: Hourglass - screen.cursor or form.cursor?
- Next by thread: Re: Hourglass - screen.cursor or form.cursor?
- Index(es):
Relevant Pages
|