multiple value selection not possible in listbox from help example
Reported by Stefan Strasser
BUG DESCRIPTION:
----------------
When trying to run the first example from the help page https://help.scilab.org/docs/6.0.0/en_US/uicontrol.html
I get the error message
"(Max - Min) must be greater than 1 to allow the multiple selection."
after the command
"set(h, 'value', [1 3]);"
f=figure();
// create a figure
h=uicontrol(f,'style','listbox', ...
'position', [10 10 150 160]);
// create a listbox
set(h, 'string', "item 1|item 2|item3");
// fill the list
set(h, 'value', [1 3]);
// select item 1 and 3 in the list
close(f);
// close the figure
ERROR LOG:
----------
"(Max - Min) must be greater than 1 to allow the multiple selection."
HOW TO REPRODUCE THE BUG:
-------------------------
run the script above, which is the first example from the help page https://help.scilab.org/docs/6.0.0/en_US/uicontrol.html
OTHER INFORMATION:
------------------