Solved

TControlActionLink

Posted on 2002-05-10
2
199 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
2 Comments
 
LVL 2

Accepted Solution

by:
mikepj earned 300 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Machine not responding during CopyFile() 3 98
find a node in VST 2 69
drawing animated level bar based on numbers 3 97
PHP preg_replace code convert to Delphi 14 57
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

803 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