Disabling the SQL hourglass

Disabling the SQL hourglass

Postby 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
Kremmi
 
Posts: 1
Joined: Thu 18 Nov 2004 06:25
Location: Germany

Postby Bagieta » Thu 18 Nov 2004 12:24

You can use something like that.
Here is an example
Screen->Cursors[crSQLWait] = Screen->Cursors[crHourGlass];
Bagieta
 
Posts: 21
Joined: Tue 09 Nov 2004 08:02
Location: Poland

Re: Disabling the SQL hourglass

Postby 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.
Ikar
 
Posts: 1693
Joined: Thu 28 Oct 2004 13:56


Return to MySQL Data Access Components