Page 1 of 1

Disabling the SQL hourglass

Posted: Thu 18 Nov 2004 06:36
by Kremmi
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

Posted: Thu 18 Nov 2004 12:24
by Bagieta
You can use something like that.
Here is an example
Screen->Cursors[crSQLWait] = Screen->Cursors[crHourGlass];

Re: Disabling the SQL hourglass

Posted: Thu 18 Nov 2004 12:37
by Ikar
> 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.