clickLine
Mark Talluto
userev at canelasoftware.com
Sat Sep 18 16:19:42 EDT 2004
On Sep 18, 2004, at 12:56 PM, Yves COPPE wrote:
> Hi list
>
>
> I have a fld with locktext to true
> there are empty lines in the fld
>
> so when the user clicks in the fld :
> if there is text in the line, the clickLine returns "line x of fld y"
>
> if there is no text in the line, the clickLine returns empty
>
> How can I know which line has been clicked no matter if there is text
> or not in the line ??
>
> thank you for your help....
Is this field something you have control over? If so, you could write
a routine that replaced blank lines with a single space. This could be
temporary or permanent. It would depend on your needs. Then you could
get a reliable answer from the clickLine.
--
Best regards,
Mark Talluto
http://www.canelasoftware.com
More information about the use-livecode
mailing list