autocomplete?

klaus

Expert
Licensed User
Longtime User
Is this what you are looking for ?
Inspired by the code from your link and using the Door library.
Unfortunately it works only on the desktop because SelectionStart and SelectionLength for a ComboBox are not supportd on the device, it seems also that the KeyUp event is not supportd on the device.
For the device you could mix the code below with the one in the other thread.

Best regards.
 

Attachments

  • ComboBoxAutocomplete.sbp
    1.5 KB · Views: 219

klaus

Expert
Licensed User
Longtime User
Attached a version that works also on the device.
With a TextBox covering the ComboBox.
Using the Door library.
Unfortunately the KeyUp event for a TextBox is also not supported on the device, even though it should be according to MS's documents.
So I use the KeyDown and TextChanged events.

Best regards.
 

Attachments

  • ComboBoxAutocomplete2.sbp
    1.8 KB · Views: 210

directorfw

Member
Licensed User
Longtime User

thank you.... it works perfect!!!!!!:icon_clap:
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…