Blitz (1/218)

From:Steve Hargreaves
Date:2 Aug 2001 at 22:06:16
Subject:MUI List Multi select

Hello all,

I'm trying to set up a multi select MUIList. The list is initialised, and allows
multi select, but I can't read the #MUIM_List_NextSelected tag. I'm using:-

lst.l=MUIGet (5,#MUIV_List_NextSelected_Start)

While lst<>MUIGet (5,#MUIM_List_NextSelected_End)

--- Bits of code here ---

MUIDoMethod 5,#MUIM_List_NextSelected,&lst

--- And here ---

Wend

lst.l is always 0 at the start. #MUIM_List_NextSelected_End is always 0, and the
MUIDoMethod puts either "1" or the value of the last selected item in lst. I
can bypass the #MUIM_List_NextSelected_End by testing for False instead (which
seems to work), but I still need to get at all selected items.

What am I doing wrong?

All the best

Steve.
========================================================
//Amiga 1200, '060/50, OS3.9, EZ-Tower, Dopus,
// PC Keyboard W EZ-Key, 56K modem, 2+16 Meg,
\\ // NEC 2A Multisync, Logic 3 SpeedMouse, HPDJ610C,
\\/ Sega Controller, & no hair.

=========================================================
I�ve always had a hard time getting up when it�s dark outside. - But in
space it�s always dark! - I know. I know.
-- Ivanova and Sinclair

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie