clickLine

Yves COPPE yvescoppe at skynet.be
Sat Sep 18 16:24:23 EDT 2004


Le 18-sept.-04, à 22:19, Mark Talluto a écrit :

>
> 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.
>
> -- 
>

thank you, it works great.


Greetings.

Yves COPPE
yvescoppe at skynet.be


More information about the use-livecode mailing list