I found that the best way to get a column number is to use item 1 of
the clickloc, subtract the left of the field to get the relative x-
value for the click in the field (you may have to also correct for the
borderwidth of the field)), then compare with the tabstops. This
always gives the
Hi All,
How do I return the column number that the user clicked in?
I know how to get the selectedLine of a Table field, but I'd like to
know which column of the selectedLine the user clicked into.
Thanx in advance,
Mark Stuart
___
use-revolution
Mark Stuart wrote:
Hi All,
How do I return the column number that the user clicked in?
I know how to get the selectedLine of a Table field, but I'd like to
know which column of the selectedLine the user clicked into.
Something like this:
put word 4 of the clickchunk into tCharNum
subtract
on 5/26/2010, Jacqueline wrote:
Something like this:
put word 4 of the clickchunk into tCharNum
subtract (the number of chars in line 1 to \
(word 2 of the clickline)-1 of me) +1 from tCharNum
set the itemdel to tab
put the number of items in char 1 to tCharNum of the value of the
Mark Stuart wrote:
on 5/26/2010, Jacqueline wrote:
Something like this:
put word 4 of the clickchunk into tCharNum
subtract (the number of chars in line 1 to \
(word 2 of the clickline)-1 of me) +1 from tCharNum
set the itemdel to tab
put the number of items in char 1 to tCharNum of
Dynamic Table Field will tell you where you clicked. It is posted
in the old section of On-Rev under the user sundown.
-=JB=-
On May 26, 2010, at 3:43 PM, Mark Stuart wrote:
on 5/26/2010, Jacqueline wrote:
Something like this:
put word 4 of the clickchunk into tCharNum
subtract (the
I haven't really been following this thread and read it quick before
sending a reply. After reading it seems you want to be able to
click on white space and get the column.
To click on white space and get the column number you can use
Dynamic Table Field and then COMAND CLICK. This will show
a