From the MapBasic on-line help :

Description
...
A MultiListBox control is identical to a ListBox control, except that the
user can shift-click to select multiple items from a MultiListBox control.

Processing a MultiListBox control

To read what items the user selected from a MultiListBox control, assign a
handler procedure that is called when the user dismisses the dialog (e.g.
assign a handler to the OKButton control). Within the handler procedure, set
up a loop to call ReadControlValue( ) repeatedly.
The first call to ReadControlValue( ) returns the number of the first
selected item; the second call to ReadControlValue( ) returns the number of
the second selected item; etc. When ReadControlValue( ) returns zero, you
have exhausted the list of selected items. If the first call to
ReadControlValue( ) returns zero, there are no list items selected.

   Hope this help

   Carlos
   ------

  ----- Original Message -----
  From: digeteca
  To: Carlos Montalvillo
  Sent: Monday, July 09, 2001 12:35 PM
  Subject: RE: MI-L Multiselect on menuitem.


  Thanks for this help,

  Mais, en fait ce que je veux faire, c'est pouvoir cocher plusieurs
elements
  de menu simultanement .

  Est-ce possible ?

  Merci,


  At 16:11 06/07/01 +0200, you wrote:
  >
  >   Of course !
  >
  >   Control  { ListBox  |  MultiListBox } =20
  >    [ Position  x , y ]   [ Width  w ]   [ Height  h ]=20
  >    [ ID  control_ID ]=20
  >    [ Calling  handler ]=20
  >    [ Title  { str_expr  |  From Variable  str_array_var }  ]=20
  >    [ Value  i_selected ]=20
  >    [ Into  i_variable ]=20
  >    [ Disable  ]   [ Hide ] =20
  >
  >   Hope this help.
  >
  >   Carlos
  >  ----- Original Message -----=20
  >  From: digeteca=20
  >  To: [EMAIL PROTECTED]=20
  >  Sent: Friday, July 06, 2001 3:12 PM
  >  Subject: MI-L Multiselect on menuitem.
  >
  >
  >  Hello,
  >
  >  here is my question :
  >
  >  are they possibilities for multiselect on menuitem ?
  >
  >  thanks,
  >  Stephane
  >
  >
  >
  >  =
  >_______________________________________________________________________
  >  List hosting provided by Directions Magazine | www.directionsmag.com |
  >  To unsubscribe, send e-mail to [EMAIL PROTECTED] and
  >  put "unsubscribe MapInfo-L" in the message body.
  >
  >
  >
  >_______________________________________________________________________
  >List hosting provided by Directions Magazine | www.directionsmag.com |
  >To unsubscribe, send e-mail to [EMAIL PROTECTED] and
  >put "unsubscribe MapInfo-L" in the message body.
  >





_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to