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@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to