Deselecting a line
Devin Asay
devin_asay at byu.edu
Tue Apr 11 15:22:06 EDT 2006
On Apr 11, 2006, at 11:35 AM, Graham Samuel wrote:
> This seems a very simple question, but I haven't found the answer,
> either by experiment or from the RR documentation.
>
> I can easily highlight a line in a field by a script like
>
> select line mySpecialLine of field "myField"
>
> and of course my user can do it with a click on a line in the
> field; and I guess I could script a click myself; but what I want
> to do at the moment is the reverse, i.e. deselect a line which my
> user has selected without removing focus from the field and without
> selecting another line. The obvious answer would seem to be
>
> select empty
>
> but it doesn't work for me, and anything involving 'the selection'
> actually alters the content of the field AFAICS
>
> Dumb I know... but could someone help me?
Graham,
Does
select after line mySpecialLine of fld "Myfield"
do what you want? We might need more details about what you're trying
to do to help you out.
Devin
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
More information about the use-livecode
mailing list