position fr a click in an editable field

thierry douez at wanadoo.fr
Fri Oct 1 04:51:47 EDT 2004


Hi all,

Is there a trick to be able to find the current position in a line within a
text in an editable field when we click on a space ?

i've tried all the **click() functions and properties, but could not
get the information.

i've wrote a little handler which calculated the position ( column number )
by using clickH() and a quick ratio with the size of the police... it works
but only for non-proportionnal fonts.

Any help would be very much appreciated...

Regards, thierry



More information about the use-livecode mailing list