[lazarus] Did something change in KEYPRESS for TComboBox?

Tony Maro TonyM at nlisc.com
Sun Oct 6 15:32:56 EDT 2002


I was happily doing autocomplete from within the KEYPRESS event of the TComboBox and just realized it has quit working.

I had been using selstart and sellength and changing the text of the box to modify what it said.  Now it's not doing that anymore... in fact it won't change the contents of the text property while in that routine.

So, I tried moving my code to the KEYUP event...

That almost worked, but I still can't do SELSTART and SELLENGTH to set the selection.

-Tony






More information about the Lazarus mailing list