![]() |
Autocomplete textbox |
Post Reply ![]() |
Author | |
sauce ![]() Newbie ![]() Joined: 26 February 2010 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 26 February 2010 at 2:48pm |
Hi,
I am creating a textbox in the PropertyGridItem. And i want to create a autocomplete textbook in that PropertyGridItem. I searched the help file and notice that there is a class called "CXTPSyntaxEditAutoCompleteWnd". Can I use that in the PropertyGridItem? Any example?
Thanks!
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Just add pItem->SetAutoComplete(TRUE) and add items to list of constraints.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
sauce ![]() Newbie ![]() Joined: 26 February 2010 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
I have set the SetAutoComplete to on. However, for example if i have the list "animal, apple, april ", when i type "a" there, it will just show up "animal" (the first match). And i want to have a list so people can navigate over list of strings. Can I use "CXTPSyntaxEditAutoCompleteWnd ", i check the documenation for that, it siad "This class implements AutoComplete window. It provides facilities to display predefined strings of data in the sorted order. Then user can navigate over list of strings and choose desired text to complete his input". However, i dont know how to implement this...
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Sorry, its for CXTPSyntaxEdit only.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |