> Le 15 déc. 2016 à 19:05, [email protected] a écrit :
>
> I'm digging though the docs - is there a command that allows me to set the
> "Selection Mode" of a listbox?
There is not, you must set the selection mode to many and unselect by code when
needed:
on click
if(count in array(listboxArrayBoolean;true)>1) & (modeIsUnique)
listbox get cell position(...;$column;$row)
for($i;1;size of array(listboxArrayBoolean))
if ($i#$row)
listboxArrayBoolean{$i}:=false //unselect others
end if
end for
end if
--
Arnaud de Montard
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************