[Lazarus] Making a auto-complete dropdown list

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sun Apr 26 20:05:18 CEST 2009


闫程远 schrieb:
> nonono,i didn't mean that. i was considering why the inputbox TEdit 
> losts its focus,even if i "setfocus".
> the lost of focus make me mad because when the dropdownform is shown,i 
> have to click the TEdit and begin typing again and again.

Untested: Try to make the old *form* Active, because only the active 
form (or a component on it) can receive the focus. If this helps, it's 
worth further investigations WRT platform compatibility.

DoDi




More information about the Lazarus mailing list