Page 1 of 1

select the text after enter

Posted: Thu Nov 12, 2009 11:30 pm
by adamrich
Hello,

I have project need to find explanation from a list.

For example
When users types

Test then press ENTER, I need to grab list of explanation from the database and list them underneath word test.

Could someone please help to do this?

Thank you

Posted: Fri Nov 13, 2009 4:20 pm
by Sergey Tkachenko
I am not sure that I understand.
Do you want to display a list of suggestions for the entered word, or do you need to insert something in the editor?
If the former, see the demo in Demos\Delphi\Assorted\Autocomplete\
(it displays suggestions when the user presses Ctrl+Space)

Posted: Sun Nov 15, 2009 1:15 am
by adamrich
Thank you that worked for me perfectly