Where is DesktopComboBox.Change()?

desktopcombobox.html#events

The documentation (link above) at its bottom says:

and from the IDE, a ComboBox:

‘TextChanged’ perchance?

You seems confusing API1 and API2.

Change is the Event used by API1

TextChanged is API2

This is what I see from the link:

maybe someone at Xojo udpated the documentation since your post?

This setup style has been working.


Sub FocusLost() Handles FocusLost
  InControl=false
End Sub


Sub FocusReceived() Handles FocusReceived
  InControl=True
End Sub


Sub Opening() Handles Opening
  For i As Integer = 5 To 20
    Me.AddRow(i.ToString)
  Next
End Sub


Sub SelectionChanged(item As DesktopMenuItem) Handles SelectionChanged
  UpdateRec
End Sub


Sub TextChanged() Handles TextChanged
  If InControl Then ' the user typed something
    UpdateRec
  End If
End Sub