[Implemented] Multiselect listview
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
[Implemented] Multiselect listview
Restored from previous forum. Originally posted by Justin.
I know that the new version introduces multiple selection in the Listiconview, it would be nice to have this functionality in a listview, specially a listview with the LBS_MULTIPLESEL style, that is very handy because you don't need to use the keyboard to make a multiple selection, just click to select or unselect multiple items.
I know that the new version introduces multiple selection in the Listiconview, it would be nice to have this functionality in a listview, specially a listview with the LBS_MULTIPLESEL style, that is very handy because you don't need to use the keyboard to make a multiple selection, just click to select or unselect multiple items.
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> Great [...] But it was not in the help files.
In a previous dicussion here, it was pointed out that PureBasic's docs can't
contain everything that Windows uses for programming, as the file size would
be absolutely gigantic. That's why the docs don't include them. There are
lots of sites that hold data about constants, flag settings, and so on; you
should download this one for starters and have a browse (143k):
http://www.mvps.org/vb/code/Win32api.zip
When reading it, do a search for LBS_MULTIPLESEL and you'll see it listed with
other ListBox style flags, as well as other gadget flag settings nearby.
PB - Registered PureBasic Coder
Edited by - PB on 11 June 2002 01:59:15
> Great [...] But it was not in the help files.
In a previous dicussion here, it was pointed out that PureBasic's docs can't
contain everything that Windows uses for programming, as the file size would
be absolutely gigantic. That's why the docs don't include them. There are
lots of sites that hold data about constants, flag settings, and so on; you
should download this one for starters and have a browse (143k):
http://www.mvps.org/vb/code/Win32api.zip
When reading it, do a search for LBS_MULTIPLESEL and you'll see it listed with
other ListBox style flags, as well as other gadget flag settings nearby.
PB - Registered PureBasic Coder
Edited by - PB on 11 June 2002 01:59:15
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tinman.
What OS does it break under (I'm guessing Amiga)? I wrote some Blitz code to have multiple select listviews that you can have if you like (it used API commands for most stuff). All I ask is 1,000,000 dollars, mwoahahahaha.
/me put little finger in corner of mouth
I was also going to suggest using ReAction for the Amiga gadgets, as it has a lot of updated gadget types that gadtools does not. It would all be BOOPSI code, so you could still control your own event loop (I think), unlike MUI.
I'm surprised that you could not do mutliple select listviews under Linux (gtk is the one you use right?)
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.20)
What OS does it break under (I'm guessing Amiga)? I wrote some Blitz code to have multiple select listviews that you can have if you like (it used API commands for most stuff). All I ask is 1,000,000 dollars, mwoahahahaha.
/me put little finger in corner of mouth

I was also going to suggest using ReAction for the Amiga gadgets, as it has a lot of updated gadget types that gadtools does not. It would all be BOOPSI code, so you could still control your own event loop (I think), unlike MUI.
I'm surprised that you could not do mutliple select listviews under Linux (gtk is the one you use right?)
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + SP1, PB3.20)
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by PB.
> PB, i understand that the help file can't contain all that constants, but the
> flag parameter in the function syntax is not there!
Sorry Justin; I thought you were unhappy that the constants weren't included.
My mistake! BTW, does the "quick help" feature show the flags parameter,
at the bottom of the editor? (I can't test at the moment). Usually this will
show the correct syntax if the docs are wrong...
PB - Registered PureBasic Coder
Edited by - PB on 11 June 2002 16:41:41
> PB, i understand that the help file can't contain all that constants, but the
> flag parameter in the function syntax is not there!
Sorry Justin; I thought you were unhappy that the constants weren't included.
My mistake! BTW, does the "quick help" feature show the flags parameter,
at the bottom of the editor? (I can't test at the moment). Usually this will
show the correct syntax if the docs are wrong...
PB - Registered PureBasic Coder
Edited by - PB on 11 June 2002 16:41:41
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm