B4J Question for each in pane

Stefano Bordini

Member
Licensed User
Longtime User
hi all,
hi add the choicebox and button in a panel via code,afther use for each in the pane but this code don't work,
B4X:
    For Each v As ChoiceBox In pSetupcamere
        If v Is ChoiceBox Then
            Main.sql1.ExecNonQuery2("update camera set tipo = ? where numeroCamera = ?", Array As Object  (v.Items.Get(v.SelectedIndex),v.Tag))
            Log(v.Tag)
            Log((v.Items.Get(v.SelectedIndex)))
enf if
next
work only if i put the brackpoint,
i try use for each v as view but i receive this error "unknown type :view are you missin library reference ?
i need iterate only choicebox
tnx and sorry for my english
 
Top