Hyperlink click area

General TRichView support forum. Please post your questions here
Post Reply
mphilbrick
Posts: 27
Joined: Mon Aug 29, 2005 7:08 pm

Hyperlink click area

Post by mphilbrick »

Sergey,

We are creating forms that have a single hyperlink in each cell of a table. Normally these hyperlinks are easy to select with either the mouse or a stylus. However, the size of the hyperlink area, particularly the height, is not large enough for use on touchscreens (the area is too small to reliably hit with your finger).

We can make the text larger, but it greatly reduces the amount of text that can be displayed on a screen.

Since there is one hyperlink (one item) per table cell, is there a way that we could "expand" the hyperlink area by manipulating the text or paragraph attributes within the cell (cell margins, paragraph margins) or is the clickable area the text only? In other words, can we make the entire table cell a hot spot? We tried inserting hot spot images but this slows the loading too much.

If this is not possible, could you provide me a sample of code (I am using TRichViewEdit in ReadOnly mode) that would locate the hyperlink within a table cell (assuming there is one and assuming the click occurred in a table cell) and execute the OnJump event?

Thanks. BTW, the fix for the undo error in RichViewActions took care of the problem.
Sergey Tkachenko
Site Admin
Posts: 17291
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

See the demo
Demos\Delphi\Assorted\PlanetQuiz\
Post Reply