How I can disable change cursor?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sinys
Posts: 186
Joined: Tue 21 Feb 2012 03:44

How I can disable change cursor?

Post by sinys » Thu 24 May 2012 12:01

Hi,
How I can disable change cursor when executing OraSQL or another Ora components?

MarkF
Posts: 211
Joined: Thu 02 Mar 2006 14:55

Re: How I can disable change cursor?

Post by MarkF » Thu 24 May 2012 13:14

I have this in my mainform create event:

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

I hope that helps!

sinys
Posts: 186
Joined: Tue 21 Feb 2012 03:44

Re: How I can disable change cursor?

Post by sinys » Thu 24 May 2012 21:17

Thank you!

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: How I can disable change cursor?

Post by AlexP » Fri 25 May 2012 08:10

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.

Post Reply