Hi Bob,

I used the following in my table object:
assuming table header (tab delimited list of column names) is stored in tabHeader variable

set the itemdelimiter to tab
put (((word 2 of the selectedLine of me) - 1) + \
the number of items in (char 1 to (word 2 of (the selectedchunk of me)) of me)) mod \
         (the number of items in tableHeader) into itemNo
  if itemNo is 0 then
     put the number of items in tableHeader into itemNo
  end if
  answer itemNo

It works correctly as long as cell contents do not exceed cell size. Once contents of the cell exceed its size, click on the next cell selects text of the previous one and you get the wrong number...

Best wishes
Viktoras

Bob Sneidar wrote:
... So I really wanted to know which item (assuming the itemDelimiter was tab) of which line was presently selected....

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to