The way I deal with this is to have two commands for each interface element,
one for humans, one that is programartic. For a table, I might have:
on mouseup
put the clickline into theline
doit theline
end mouseup
on doit theline
if theline = empty then
put the clickline into theline
Richmond.
The "click" command requires a point as a parameter, that is, something that
resolves to "integer,integer" The comma is de rigueur.
-Original Message-
From: Richmond
To: How to use LiveCode
Sent: Tue, Apr 22, 2014 1:22 pm
Subject: Re: programatically
on mouseUp
click at line 5 of fld "FLIST"
end mouseUp
gives me this:
Typeclick: expression is not a point
ObjectButton
Lineclick at line 5 of fld "FLIST"
HintElephants
["Elephants" is the content of line 5 of fld "FLIST"]
this:
on mouseUp
click at char 1 of line 5 of fld
ot;la...@significantplanet.org"
wrote:
>Is there a way to programatically click on a line in a field whose list
>behavior is set to multi-line and non-contiguous?
>
>TIA
>Larry
>
>P.S. using "click at the location" didn't work
>__
Set the hilitedlines of the field.
On April 22, 2014 9:43:55 AM CDT, la...@significantplanet.org wrote:
>Is there a way to programatically click on a line in a field whose list
>behavior is set to multi-line and non-contiguous?
>
>TIA
>Larry
>
>P.S. using "click at
sent. Now this may not be the only
way to do what you want, but your original thinking was perfectly sound. So
what went wrong?
Craig Newman
-Original Message-
From: larry
To: How to use LiveCode
Sent: Tue, Apr 22, 2014 11:12 am
Subject: Re: programatically click?
Hi John,
Y
l 22, 2014 8:48 AM
Subject: RE: programatically click?
> Would something like...
>
> select line x of fld x
>
> help ?
>
>> From: la...@significantplanet.org
>> To: use-livecode@lists.runrev.com
>> Subject: programatically click?
>> Date: Tue, 22 Apr
Would something like...
select line x of fld x
help ?
> From: la...@significantplanet.org
> To: use-livecode@lists.runrev.com
> Subject: programatically click?
> Date: Tue, 22 Apr 2014 08:43:55 -0600
>
> Is there a way to programatically click on a line in a field whose l
Is there a way to programatically click on a line in a field whose list
behavior is set to multi-line and non-contiguous?
TIA
Larry
P.S. using "click at the location" didn't work
___
use-livecode mailing list
use-livecode@lists.ru