SelectedText and ItemOffset
andu
undo at cloud9.net
Mon Jan 13 19:59:01 EST 2003
--On Monday, January 13, 2003 16:16:48 -0800 Scott Rossi
<scott at tactilemedia.com> wrote:
> How does one determine the number of the item in which the selectedText
> falls?
>
> Situation: a field containing several tab-delimited items on a line.
>
> Set 1 Set 2 Set 3 Set 4 Set 5
>
> The mouse is clicked somewhere in the line of text. 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)
>
> 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