Hyperlink
Hi,
I'm trying out the demo of RB 11.06. I need each record in the report
to open a record in my database. Is there a way to underline the text
of a TppDBText component only when the mouse is over it, to make it look
like the spot is clickable? I can't set the font to underlined because
the printout of the report can't have the underlines, unless they are
part of the record.
Thanks
I'm trying out the demo of RB 11.06. I need each record in the report
to open a record in my database. Is there a way to underline the text
of a TppDBText component only when the mouse is over it, to make it look
like the spot is clickable? I can't set the font to underlined because
the printout of the report can't have the underlines, unless they are
part of the record.
Thanks
This discussion has been closed.
Comments
The previewer is not designed to change its output based on where the mouse
is located. When a report component is clickable, you will notice that the
cursor of the mouse changes to a pointing finger letting the user know it is
clickable.
If this is not enough, you could underline all links for the preview window,
then when printing to the printer, loop through each component and remove
the underline from the text.
http://www.digital-metaphors.com/rbWiki/Output/Printer/Detecting_Whether_Report_Printed_to_Printer
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Layouts/Report_Object_Loop
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com