Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Autocomplete textbox
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Autocomplete textbox

 Post Reply Post Reply
Author
Message
sauce View Drop Down
Newbie
Newbie


Joined: 26 February 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote sauce Quote  Post ReplyReply Direct Link To This Post Topic: Autocomplete textbox
    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!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
sauce View Drop Down
Newbie
Newbie


Joined: 26 February 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote sauce Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2010 at 3:07pm
Sorry, its for CXTPSyntaxEdit  only.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.