unselect a line

Klaus Major k_major at os.surf2000.de
Tue Sep 24 11:05:01 EDT 2002


Bonjour Sylvain,

on mouseUp
   put the selection
   set the hilitedlines of me to 0
end mouseUp

works for me in a list-field.
(As does my advice from about 1 hour ago ;-)

> it does not work in my case...
>
> ---- create a  field with "List behaviour"
>
> ----- here comes the script of that field
>
> on mouseUp
>   if the long id of me is the focusedObject then
>      put the selection into message
>      select empty
>   end if
> end mouseUp
>
> I want to select my line, do something with it and deselct it....
>
> thanks

Au revoir

Klaus Major
k_major at os.surf2000.de




More information about the use-livecode mailing list