Disabling the SQL hourglass

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Kremmi
Posts: 1
Joined: Thu 18 Nov 2004 06:25
Location: Germany

Disabling the SQL hourglass

Post by Kremmi » Thu 18 Nov 2004 06:36

I'm using MyDAC with borland C++ builder 6.0 and during the run of my programm the cursor changes a lotof time to the SQL hourglass and back.
In a second programm not. What does this mean and how can I switch this function off ?
Also when the SQL hourglass appears by actitivating the main menue, it will stay permanetly until I leave the the menue, I think this behavior is wrong !

Has somebody else this problem and how could I solve this?

Matthias

Bagieta
Posts: 21
Joined: Tue 09 Nov 2004 08:02
Location: Poland

Post by Bagieta » Thu 18 Nov 2004 12:24

You can use something like that.
Here is an example
Screen->Cursors[crSQLWait] = Screen->Cursors[crHourGlass];

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Re: Disabling the SQL hourglass

Post by Ikar » Thu 18 Nov 2004 12:37

> What does this mean and how can I switch this function off ?

At the first program MyDacVcl unit is enabled but at the second program, not.

To disable this function set DBAccess.ChangeCursor variable to False.

> Also when the SQL hourglass appears by actitivating the main menue

Most probably, it doesn't concern MyDAC.

Post Reply