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

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

   ► MB LobbyPascal and Delphi Coding BoardDelphi VCL Topic   Print This     

Gaining and losing focus on TSpeedButton

Gaining and losing focus on TSpeedButton in Delphi VCL topic (part of our Pascal and Delphi Coding group).

Quick Search: Gaining   TSpeedButton   Gaining losing   Gaining losing focus  
programc++
-- USA
I have a TSpeedButton and I am not able to lose the focus on this SpeedButton.Once the focus is lost I want to regain the focus again. Any Suggestions??
 Posted 16 years ago (Thread Starter)
Comment Quote
About programc++ -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 #10528, 3 replies
Thread Started 6/7/2004 7:47:00 AM
View Counter=7211
Location=-- USA 
Joined=16 years ago   MB Posts=14  
Angel
 (Inactive)
England
Speedbuttons do not have focus by design. If you want to have a button which can hold focus, you need to use either a TButton or a TBitBtn.

As a rule, only use a SpeedButton where you want the user to click on it with the mouse.
 Posted 16 years ago
Comment Quote
About Angel -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 #10529 (Level 1.1)  Reply to 10528
Thread Started 6/7/2004 7:50:00 AM
View Counter=2
Location=England  
Joined=19 years ago   MB Posts=199  
programc++
-- USA
makes sense..
Thanks,
Mahendra Ghuge
 Posted 16 years ago (Thread Starter)
Comment Quote
About programc++ -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 #10530 (Level 1.2)  Reply to 10528
Reply Posted 6/7/2004 7:52:00 AM
Location=-- USA 
Joined=16 years ago   MB Posts=14  
Most Recent Post
programc++
-- USA
Actually I made the TSpeedButton get focussed using the Enabled property. I initialised it to false. When I need to get the focus back, I just assign Enabled as true and it works fine. So initially all the buttons are not activated. Works fine I guess .. atleast for my application
 Posted 16 years ago (Thread Starter)
Comment Quote
About programc++ -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 #10531 (Level 1.3)  Reply to 10528
Reply Posted 6/7/2004 9:31:00 AM
Location=-- USA 
Joined=16 years ago   MB Posts=14  

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 = P195A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #10528 Counter
7211
Since 4/2/2008

Follow PrestwoodBoards on: 


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