Page 1 of 1

How I can disable change cursor?

Posted: Thu 24 May 2012 12:01
by sinys
Hi,
How I can disable change cursor when executing OraSQL or another Ora components?

Re: How I can disable change cursor?

Posted: Thu 24 May 2012 13:14
by MarkF
I have this in my mainform create event:

// Tell ODAC not to change the cursor.
DBAccess.ChangeCursor := False;

I hope that helps!

Re: How I can disable change cursor?

Posted: Thu 24 May 2012 21:17
by sinys
Thank you!

Re: How I can disable change cursor?

Posted: Fri 25 May 2012 08:10
by AlexP
Hello,

Besides setting the ChangeCursor global variable to False, to avoid the cursor change when opening a DataSet, you can also delete the OdacVcl module from the uses section.