Another Custom Preview Form Question
I have a custom preview plugin that I am testing in the KeyDown event
for certain shortcut keys. Like Ctrl-P to display the print dialog.
I want to change the hint on the toolbar button for the print button
in the same preview plugin to show the short cut key but I was not
sure how to? Thanks for your help.
for certain shortcut keys. Like Ctrl-P to display the print dialog.
I want to change the hint on the toolbar button for the print button
in the same preview plugin to show the short cut key but I was not
sure how to? Thanks for your help.
This discussion has been closed.
Comments
The print button is a regular TSpeedButton. If you are using a custom
preview plugin, you should be able to change the hint by using something
similar to the following code:
PrintButton.Hint := "This is my hint";
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com