Dear List,

i am looking for a way to let the user select the layers he/she wants to
open.
I found the multilistbox syntax, but the returned values are confusing me.
-Selecting only one item the ReadControlValue returns the right value.
-Selecting downwards the ReadControlValue loops and returns the right items.
-Selecting upwards more than one item ReadControlValue always returns the
value of the first selection.
- i_var is always set to 1.

What can I do to prevent this?
Heres my sample code.

Dialog
         Control  MultiListBox
        Position  5 , 60
        Width  50
        Height 40 
        ID 99 
        Calling CHECKVZE
        Title  "Strassen;Bebauung;Eisenbahn;Fluss;Flusslauf;Orte"
        Into  i_var

Control OKButton
Control CancelButton   


Sub CHECKVZE    
  
  print "i_var :"+i_var
  Print "???: "   + ReadControlValue(99)
                                   

End Sub

Any help would be appreciated. 
Thanks in Advance.



Hendrik Po�berg
Geodaten

Hellersbergstr. 14
41460 Neuss
Phone: 02131-10 97 51
Fax:   02131-10 97 77
mailto:[EMAIL PROTECTED]


Aktuelles:

***
Immer am Ball? Einmal pro Quartal erscheint unser microm eNewsletter, der
Sie aktuell 
ueber die neuesten Entwicklungen bei microm rund um unsere Daten, Systeme
und 
Dienstleistungen informiert. Einfach eine kurze E-Mail mit Name und E-Mail
Adresse an 
<mailto:[EMAIL PROTECTED]> senden!
Die naechste Ausgabe erscheint im September.
***
____________________________________________

Diese Nachricht wurde elektronisch versandt und ist daher auch ohne
Unterschrift rechtsgueltig. Der Inhalt dieser E-Mail enth�lt vertrauliche
Informationen. Das
Kopieren und die Weitergabe an Dritte ist nicht gestattet. Sollten Sie diese
E-Mail irrtuemlich von uns erhalten haben, bitten wir Sie, diese zu
vernichten und uns darueber zu informieren.
Im Voraus vielen Dank.
____________________________________________


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 7824

Reply via email to