On Aug 4, 2006, at 8:45 AM, Phil M wrote:
On Aug 4, 2006, at 11:24 AM, Joseph wrote:
The only solution I can think of would involve assessing where the
cursor landed in the text (SelStart), then working backwards and
forward character by character until a an entire word is found
(i.e. until a space character is found). Then passing that word
to a method that "processes" it to determine whether it is
*clickable* and if so then proceed with the clicking!
There are MouseDown and MouseUp events for an Editfield, which can
be used to determine the X-Y coordinates. Then there is the
EditField.CharPosAtXY() function which returns the character index
from the start of the EditField. All that would remain is figuring
out if the character clicked is part of a clickable phrase.
Some work might be needed here. Suppose the clickable phrase is "box"
and the user clicks on the x in "text" ?
Jack
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>