?
Solved

TControlActionLink

Posted on 2002-05-10
2
Medium Priority
?
208 Views
Last Modified: 2010-04-04
Hi All,
Does anyone know how to use a TControlActionLink?

I've got a TToolButton that is linked to a TActionList.  I've set the Hint and the ShortCut for the Action but when I move the mouse over the button, I get the Hint AND the ShortCut.  e.g.  "Paste (Ctrl+V)"

I've know that TControlActionLink.DoShowHint gets called and modifies the Hint to add the ShortCut.  I know that I need to override the DoShowHint so that this doesn't happen but what I don't know is how to associate my overridden TControlActionLink.DoShowHint function with the action.  How does it all tie in together???

A small example would be great.

Cheers,
M.
0
Comment
Question by:MMathieson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
mikepj earned 1200 total points
ID: 7003306
If you must do that, I would think it may be easier to remove the shortcut for the action and simulate that yourself in OnKeyDown.
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9005556
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from mikepj

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question