EControl Ltd. Forum Index EControl Ltd.
VCL libraries and software support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AutoComplete question

 
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor
View previous topic :: View next topic  
Author Message
jfcarbel



Joined: 13 Jun 2006
Posts: 27

PostPosted: Thu Jun 15, 2006 6:29 am    Post subject: AutoComplete question Reply with quote

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
View user's profile Send private message
jfcarbel



Joined: 13 Jun 2006
Posts: 27

PostPosted: Thu Jun 15, 2006 6:30 am    Post subject: Reply with quote

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
View user's profile Send private message
econtrol
Site Admin


Joined: 09 Jun 2006
Posts: 202

PostPosted: Fri Jun 16, 2006 10:23 am    Post subject: Reply with quote

I've moved property ListBox to public.
Position and selected item may be accessed and controled using this property.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    EControl Ltd. Forum Index -> EControl Syntax Editor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group