ClickLine anomaly?

dunbarx at dunbarx at
Wed Feb 2 22:17:23 EST 2011


Easy workaround using the clickLoc and knowledge of the field properties.

I load adjacent fields with data all the time, and click on a line to edit (or add) text. Many times data is missing from the bottom line of a field that has corresponding data in that line it its neighbors. So I tried to use the clickLine to get started.

I probably should use a table field or dataGrid. Old fashioned, you know.

Anyway, just surprised, is all.


-----Original Message-----
From: J. Landman Gay <jacque at>
To: How to use LiveCode <use-livecode at>
Sent: Wed, Feb 2, 2011 9:48 pm
Subject: Re: ClickLine anomaly?

On 2/2/11 4:08 PM, dunbarx at wrote: 
> In HC, in a locked field with no text, if I write a mouseUp handler: 
> On mouseUp put the clickLine end mouseUP 
> I get the clickLine. 
> In LC, if there is no text in the field, I get empty. With text, no 
> problem, of course. Empty lines above some text, also no problem. 
> Empty lines below some text, empty. This function will not return a 
> value if the click is below the number of lines in the field. 
> Anyone else think this is terrible behavior? Lost, oh lost... 
I don't know if it's terrible or not, but it's always been that way since MetaCard. I used to miss it too but I'm used to it now. If you can say why you'd need the clickline of an empty space, maybe there's another way to do it. I've usually been able to find workarounds. 
-- Jacqueline Landman Gay         |     jacque at 
HyperActive Software           | 
use-livecode mailing list 
use-livecode at 
Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 


More information about the Use-livecode mailing list