[Gambas-user] ListView - Multiselect

Valeriu gontiaval at ...67...
Wed Jun 27 13:57:39 CEST 2012


Maybe I'm wrong explained. With my bad English ...
In ListView i have marked for deletion from the list of multiple items.
I want to get these items separately celebrated in a variable.
How should i do?

Any suggestions are accepted.



Valeriu wrote:
> 
> 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-tp34077433p34079898.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list