[Gambas-user] ListView - Multiselect

Valeriu gontiaval at ...67...
Wed Jun 27 12:44:39 CEST 2012


Good day!

How to select the selected items from the list ? ....
Thank you.

My code:     ???


Dim i As Integer
Dim ListGlobals As String
  ListGlobals = ""
  Select Message.Question("We delete the Global(s) " & File1.Item.Selected &
", yagree ?...", "Yes", "No", "Don't know")
  Case 1
    'For i = File1.Count To 1 Step -1
    For i=0 to File1.Count-1
      If File1.Item.Selected = True Then
        'File1.MoveCurrent
        ListGlobals = ListGlobals & Trim(File1.Item.Text) & "|"
        Endif
    Next
     Message(ListGlobals)
  Case 2
   Return
  End Select

-- 
View this message in context: http://old.nabble.com/ListView---Multiselect-tp34077433p34077433.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list