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!

~joe

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of CV
Sent: Friday, August 04, 2006 10:05 AM
To: Getting Started
Subject: Re: clickable text

The editfield can catch the mouse click but the problem will be to  
determine what word has been clicked(if that's needed) unless the  
user is required to select it prior to the click, in which case it is  
returned by me.SelText. In other words, it is difficult in an  
editfield to correlate between a word of text and its x,y coordinates.

Best,

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>

Reply via email to