Print Page | Close Window

Autocomplete textbox

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=16295
Printed Date: 21 June 2025 at 12:14am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Autocomplete textbox
Posted By: sauce
Subject: Autocomplete textbox
Date 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!



Replies:
Posted By: Oleg
Date Posted: 01 March 2010 at 2:21am
Hi,
 
Just add pItem->SetAutoComplete(TRUE) and add items to list of constraints.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: sauce
Date Posted: 01 March 2010 at 12:06pm
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...


Posted By: Oleg
Date Posted: 02 March 2010 at 3:07pm
Sorry, its for CXTPSyntaxEdit  only.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net