Re: [Gambas-user] ComboBox: Detect if the button was clicked

2014-02-15 Thread Matti
Having a similar problem here. My first thoughts are: Public Sub MyComboBox_Change() Dim i As Integer Dim bFound As Boolean = False For i = 0 To MyComboBox.List.Count - 1 If MyComboBox.Text = Left(MyComboBox.List[i], Len(MyComboBox.Text)) Then bFound = True Exit E

[Gambas-user] ComboBox: Detect if the button was clicked

2014-02-14 Thread Bruce
I have tried a couple of ways to determine if the user has clicked on the button that opens the list in a combobox with no great success. (I am trying to discern whether they selected a list item or typed a new string in the textbox.) It looks like I have to use the Mouse.X and Mouse.Y values to s