Does anyone know what over events can be performed on B4XComboBox1 on B4A? Like A Click event? Can you have a B4XComboBox1_Clicked event? I want to click/touch the B4XComboBox1 and execute a code and show data in the B4XComboBox1 and then have the user select whatever item from the list.
For example, on B4J you can have the mouse clicked event on a combo box and the code populates the combo box when the user clicks on the combo box. If not possible on B4A to have click event on B4XComboBox1 what would be some something similar?
The following can be done in B4J
B4X:
Sub rbwcmb_MouseClicked(EventData As MouseEvent)
If EventData.ClickCount=1 Then
rbwcmb.Items.Clear
Dim l1 As List : l1.Initialize
Dim query4 As String
query4="SELECT distinct rbw FROM RBWDB order by rbw asc"
Dim rs As ResultSet = sql1.ExecQuery(query4)
Do While rs.NextRow
l1.Add(NumberFormat2( rs.GetString("rbw"),0,2,2,False))
Loop
rbwcmb.Items.AddAll(l1)
rs.Close
End If
End Sub
I tried looking around the Forum but could not find anything. Any Help is appreciated.