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
Rank: Cadet 3rd Year
Does anyone know how to remove the SQL mouse cursor when accessing the BDE?
 Posted 16 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=5648
Last Reply Posted 8/8/2017 9:39:23 PM)
Location=Fleet, Surrey, England  
Joined=16 years ago   MB Posts=14  
Larry J. Rutledge
Prestwood IT
Citrus Heights, CA USA
Rank: Lieutenant-Commander
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 16 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=17 years ago   MB Posts=73   KB Posts=9  
guyt
-- UNK
Rank: Cadet 2nd Year
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 9 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=9 years ago   MB Posts=1  
Most Recent Post
PS_233
-- --
Rank: Cadet 1st Year

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 8 days 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=8 days ago   MB Posts=1  
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 = P1164A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #474 Counter
5648
Since 4/2/2008
-
   Contact Us!
 
PrestwoodBoards.com was developed and is maintainted by me. Do you have a question or suggestion? Do you see a problem? Contact me now. My goal is to build an ad-free and spam-free source of I.T. information with many contributers (ok to promote your website/company in your bio). Yes, my company Prestwood IT Solutions is mentioned in my bio which shows with every post, but you can contribute and promote your pet project too!

2,069 People Online Now!!  
Sign In to see who's online now!  Not a member? Join now. It's free!
Show more stats...


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