Android Question Clear ITEMS in B4XComboBox

netsistemas

Active Member
Licensed User
Longtime User
Is this code correct or there are any other thecnic:

B4X:
private Sub ClearCombo(Combo As B4XComboBox)

    #if b4a
        Combo.cmbBox.Clear
    #else
'for b4j
        Combo.cmbBox.Items.Clear
        
    #End If
    

End Sub
 
Top