Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to appear a combobox drop down when enter spacing in richtext.I mean you enter "St" behind spacing and combobox/ListBox appears.It will find the items named String,Std.Press tab key and richtext replace St with String/Std.I can press key down/up to select items in combobox.
How to do this?
Posted
Updated 22-Jun-12 2:53am
v3
Comments
Abhinav S 22-Jun-12 1:39am    
Sorry but your question is just not clear enough.
Sandeep Mewara 22-Jun-12 2:14am    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.
NeonMika 22-Jun-12 2:21am    
I think you mean something similar to Intellisense or the dropdown menu in Word 2007 etc., am I right?
giatuan2011 22-Jun-12 8:41am    
I mean you enter St and combobox appears.It will find the item named String.Press tab and richtext replace St with String

Use,

dropdown1.IsOpen = true

This will make drop down open manually
 
Share this answer
 
Have a look at following link for starters:
DIY Intellisense[^]
 
Share this answer
 
Comments
giatuan2011 22-Jun-12 8:38am    
The solution is useful.
It uses the system.dll.
I just added project> ClassLibrary in C# 2008 to make dll.But I will have trouble when I want to add function into .Dll file.I have to recompile dll.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900