Deselecting a line
Ken Ray
kray at sonsothunder.com
Tue Apr 11 16:34:57 EDT 2006
On 4/11/06 12:35 PM, "Graham Samuel" <livfoss at mac.com> wrote:
> 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.
I'm assuming you're talking about a list field, so you would do this:
set the hilitedLines of field <fieldName> to 0
or
set the hilitedLines of field <fieldName> to empty
or
set the hilitedLines of field <fieldName> to ""
Any of those should do it...
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list