I.T. Discussion Community!
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

August Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding BoardDelphi News / Other Topic   Print This     

Help: Removing the SQL cursor

Help: Removing the SQL cursor in Delphi News / Other topic (part of our Pascal and Delphi Coding group).

Quick Search: Removing   Removing   Removing SQL  
andyhud
 (Inactive)
Fleet, Surrey, England
Does anyone know how to remove the SQL mouse cursor when accessing the BDE?
 Posted 18 years ago (Thread Starter)
Comment Quote
About andyhud -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #474, 3 reply
Thread Started 1/5/2001 4:00:00 AM
View Counter=6487
Last Reply Posted 8/8/2017 9:39:23 PM)
Location=Fleet, Surrey, England  
Joined=18 years ago   MB Posts=14  
Larry J. Rutledge
Prestwood IT
Citrus Heights, CA USA
There are a couple solutions to this problem.

One, you could change the setting in the global Cursors array. This array contains all the standard cursors that Delphi uses. To change the SQLl Hourglass to something else use the following:


Screen.Cursors[crSQLWait] := crDefault;


You could use any of the standard constants in place of crDefault in order to specify which cursor to use. You could also use the LoadCursorFromFile Windows API call to load the cursor from a .CUR or .ANI file. For example:


Screen.Cursors[crSQLWait] := LoadCursorFromFile('C:\MyCursors\SpinDB.ani');


The other solution only works with Delphi 4 & 5. Simply drop a TSession component on the same form as your TDatabase component. Then set the TSession.SQLHourGlass property to false.

I hope this helps,
Larry


------------------
Larry J. Rutledge

Programmer / Analyst
Prestwood Software & Consulting
7525 Auburn Blvd., #8
Citrus Heights, CA 95610


Old UBB Archived Link: [URL=http://www.prestwood.com]www.prestwood.com[/URL]


Serving your IT needs since 1984!
Larry J. Rutledge

Analyst

Prestwood Software

www.prestwood.com
 Posted 18 years ago
Comment Quote
About Larry J. Rutledge -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Larry J. Rutledge
I worked for Prestwood Software as a Delphi developer from 1997 through 2002. During that time I enjoyed working with Mike Prestwood and the other developers at Prestwood.

Post ID #479 (Level 1.1)  Reply to 474
Thread Started 1/5/2001 7:21:00 AM
View Counter=2
Location=Citrus Heights, CA USA 
Joined=19 years ago   MB Posts=73   KB Posts=9  
guyt
-- UNK
Quote:
Originally Posted by lrutledge
There are a couple solutions to this problem.

One, you could change the setting in the global Cursors array. This array contains all the standard cursors that Delphi uses. To change the SQLl Hourglass to something else use the following:


Screen.Cursors[crSQLWait] := crDefault;


You could use any of the standard constants in place of crDefault in order to specify which cursor to use. You could also use the LoadCursorFromFile Windows API call to load the cursor from a .CUR or .ANI file. For example:


Screen.Cursors[crSQLWait] := LoadCursorFromFile('C:\MyCursors\SpinDB.ani');


The other solution only works with Delphi 4 & 5. Simply drop a TSession component on the same form as your TDatabase component. Then set the TSession.SQLHourGlass property to false.

I hope this helps,
Larry


------------------
Larry J. Rutledge

Programmer / Analyst
Prestwood Software & Consulting
7525 Auburn Blvd., #8
Citrus Heights, CA 95610


Old UBB Archived Link: [URL=http://www.prestwood.com]www.prestwood.com[/URL]


Serving your IT needs since 1984!

Thanks a lot,  it was very helpful !

 Posted 11 years ago
Comment Quote
About guyt -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #13089 (Level 1.2)  Reply to 474
Reply Posted 10/29/2008 10:37:36 AM
Location=-- UNK 
Joined=11 years ago   MB Posts=1  
Most Recent Post
PS_233
-- --

Searching in web has actually been a hobby for lots of people. Opera Mini APK supplied at the bottom of this web page completely free. 

 Posted 24 months ago
Comment Quote
About PS_233 -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #16810 (Level 2) and Parent is 474
Reply Posted 8/8/2017 9:38:35 PM
Location=-- -- 
Joined=24 months ago   MB Posts=1  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1181A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #474 Counter
6487
Since 4/2/2008
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech