SelectedText and ItemOffset

andu undo at cloud9.net
Mon Jan 13 20:48:01 EST 2003


--On Monday, January 13, 2003 17:01:43 -0800 Scott Rossi 
<scott at tactilemedia.com> wrote:

> Recently, "andu"  wrote:
>
>>> How do you determine
>>> the number of the item that corresponds to where mouse was clicked?
>>
>> Something like:
>>
>> # set the style of each item to link first
>> set the itemdel to tab
>> put the clickText into cText
>> put itemOffset(cText, the_Line)
>
> This is a good suggestion, however, items can be made up of multiple words
> separated by spaces; the clickText only seems to return single words (not
> groups of words).  Any way to this into account?

Like I said, set the textStyle of each item in the field to link (a.k.a 
group) FIRST! That way the clickText will return all the words in the group.

>
> Thanks & Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> -----
> E: scott at tactilemedia.com
> W: http://www.tactilemedia.com
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac



More information about the metacard mailing list