Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Another Custom Preview Form Question

edited September 2003 in General
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.

Comments

  • edited September 2003
    Hi Jeff,

    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";

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.