ibs06t Member Licensed User Longtime User Jun 29, 2019 #1 hi im asking one dougt in my project how to fix text value in combo box in b4a like vb6 combo1.text = "SAMPLE"
hi im asking one dougt in my project how to fix text value in combo box in b4a like vb6 combo1.text = "SAMPLE"
mangojack Expert Licensed User Longtime User Jun 29, 2019 #2 Unsure of your question ? The text displayed in Combobox on loading ? Code: Dim lstValues As List lstValues.Initialize lstValues.AddAll( Array As String ("Cat", "Dog", "Sample")) B4XComboBox1.SetItems(lstValues) B4XComboBox1.SelectedIndex = 2 ' = Text set to "Sample" Upvote 0
Unsure of your question ? The text displayed in Combobox on loading ? Code: Dim lstValues As List lstValues.Initialize lstValues.AddAll( Array As String ("Cat", "Dog", "Sample")) B4XComboBox1.SetItems(lstValues) B4XComboBox1.SelectedIndex = 2 ' = Text set to "Sample"