Page 1 of 1
DirList Select All/None
Posted: Mon Jan 28, 2013 7:32 pm
by djrikki
Code: Select all
...
<dirlist id="lv-directory" directory="dh0:" title="true">
...
Code: Select all
mui.DoMethod("lv-directory","select","all","on")
;; OR
mui.Set("lv-directory","select","all","on")
The HW code supposed to select all of the files in the DirList ListView but I cannot get it to work.

Re: DirList Select All/None
Posted: Tue Jan 29, 2013 5:44 pm
by airsoftsoftwair
First of all, you need to enable Listview.MultiSelect if you want to be able to select more than one files in a Dirlist object, i.e.
Code: Select all
<dirlist .... multiselect="default">
If you want directories to be selectable as well, you need to turn this on manually using Dirlist.MultiSelDirs.
BUT: AFAICS, it still doesn't work on OS4 then. So this is another bug in the OS4 MUI which I'm going to report. It works correctly on MUI 3.8 and MorphOS MUI, though.
Re: DirList Select All/None
Posted: Tue Jan 29, 2013 5:47 pm
by djrikki
Cool well this is all good stuff, if everything just worked there would be nothing to do.

Re: DirList Select All/None - SOLVED
Posted: Tue Jan 29, 2013 9:56 pm
by djrikki
After turning On both of those attributes as suggested I have been able to get Select All/None working as required.

Re: DirList Select All/None
Posted: Wed Jan 30, 2013 5:16 pm
by airsoftsoftwair
It's fixed now in OS4 MUI.