闫程远 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 _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
