[Lazarus] Making a auto-complete dropdown list

闫程远 yanchengyuan at gmail.com
Sun Apr 26 15:14:13 CEST 2009

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.

2009/4/26 Bart <bartjunk64 at gmail.com>

> Hi,
> If you try to do this cross-platform, you might run into this bug:
> http://bugs.freepascal.org/view.php?id=7243
> I have an app with autocompletion TEdit. When it finds a match it
> appends the part that was not typed in yet, and selects that part in
> the control.
> This works perfectly well in win32, but in GTK the SelLength property
> is not updated correctly in the TEdit.OnChage event.
> I was never able to pinpoint where this goes wrong and no other
> Lazarus users seem to need this specific behaviour it seems.
> Bart
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

I'm sure that I will win.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090426/64e87537/attachment-0007.html>

More information about the Lazarus mailing list