>- if you set your cursor to crHourGlass in advance, there will be no
>flicker, ie.

>  Screen.Cursor := crHourGlass;
>  try
>    for i := 1 to Lots do
>      IBQuery1.ExecSQL;
>{ The above line would cause flicker, by changing the cursor to crHourGlass
>and back, were the cursor not already set to crHourGlass }
>  finally
>    Screen.Cursor := crDefault;
>  end;

Tried this, it flicks when you have nested db access

>- If you _really_ don't want the cursor to change at all, you could save a
>copy of the crHourGlass cursor, load the crDefault cursor on top of it
>before executing the code above, and finally re-load the "real" crHourGlass
>cursor

Good idea, I'll check this out, thanks Carl.

>HTH.

>Cheers,
>Carl
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to