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



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.

.



Relevant Pages

  • Re: How to change the overall mousepointer?
    ... mousepointer to an hourglass while the calculations are running. ... cursor. ... They are queued up and there's nothing your script can do ...
    (comp.lang.javascript)
  • Re: Hosting AxBrowser
    ... see what the browser window is doing - but to no avail. ... > hourglass gives the user an indication that you are using a browser ... >> I am using the AxWebrowser control on my windows form and it's 99% ... The problem is that the cursor is very briefly showing the ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Hourglass - screen.cursor or form.cursor?
    ... some calculations), I want to make sure the hourglass is displayed. ... When the mouse moves away from the control another cursor is ...
    (comp.lang.pascal.delphi.misc)
  • Re: speech recognition & e-mail messages probs !!!
    ... To answer your question about mouse control and cursor control with ... say that is because I correspond regularly with someone who uses DNS ... cursor with voice control. ... speech recognition solutions and support. ...
    (microsoft.public.windows.vista.general)
  • Re: Positioning Cursor
    ... i do mean do set the position of the cursor. ... On a Form I have a Control, positioned let's say at 4 cm from the ... 7th or 8th entry in the list although no entry is ... ' If LeaveFocus is True, the focus will be returned to ...
    (microsoft.public.access.modulesdaovba)