Re: [Gambas-user] Fastest way to select/unselect all

2012-11-17 Thread M. Cs.
Thank you! That's what I've been looking for. Csaba 2012/11/17 Jussi Lahtinen > Dim oo As Object > > For Each oo In scV.Children > If oo Is CheckBox Then > oo.Value = iDesiredValue > Endif > Next > > > Do you need to use Tag like that? > Maybe you could use it to identify that certain c

Re: [Gambas-user] Fastest way to select/unselect all

2012-11-17 Thread Jussi Lahtinen
Dim oo As Object For Each oo In scV.Children If oo Is CheckBox Then oo.Value = iDesiredValue Endif Next Do you need to use Tag like that? Maybe you could use it to identify that certain checkbox group? Like this: For Each oo In scV.Children If oo Is CheckBox Then If oo.Tag = "Crea

[Gambas-user] Fastest way to select/unselect all

2012-11-17 Thread M. Cs.
Private Sub AddItem(Ite As String) Dim chB As CheckBox chB = New CheckBox(scV) As "Nyomi" chB.Text = Ite chB.Tag = Ite End I have an array of checkboxes created with this procedure. I would like to select / unselect all of them at once. How can I reach them? Csaba ---