View previous topic :: View next topic |
Author |
Message |
jfcarbel
Joined: 13 Jun 2006 Posts: 27
|
Posted: Thu Jun 15, 2006 6:29 am Post subject: AutoComplete question |
|
|
Posted by: Guest (IP Logged)
Date: March 14, 2006 01:27AM
I have 2 questions that I hope you can help me with.
1. How can I get the current selected Item on the AutoComplete list at the time of execution?
2. How would I get the screen position of where the list is displaying? |
|
Back to top |
|
|
jfcarbel
Joined: 13 Jun 2006 Posts: 27
|
Posted: Thu Jun 15, 2006 6:30 am Post subject: |
|
|
Posted by: econtrol (IP Logged)
Date: March 15, 2006 08:54AM
Hello.
There is property:
TSyntMemoPopupList.ListBox: TListBox
(TSyntMemoPopupList is a base class of TAutoCompletePopup and TTemplatePopup)
that may be used for this purpose.
This property is protected, so you should use accessing to protected members technics. |
|
Back to top |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Fri Jun 16, 2006 10:23 am Post subject: |
|
|
I've moved property ListBox to public.
Position and selected item may be accessed and controled using this property. |
|
Back to top |
|
|
|