Click here to Skip to main content
16,017,745 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm Looking For Design a Component such as ComboBox:

This Component has a ownerControl Property that You Can link this Component To Each Control on Form.
this Component has a DataSource and You Can Specify Columns For Show.
when a user Type Or Click on OwnerControl. Lookup Component Opend and Show Data

For Example I Have A one Of this Component and Set OwnerControlProperty to TextBox and
DataSource=DataModel.Person and ColumnsShow=COde, Title,
Now When User Type Or Click On TextBox, Lookup Open and SHow Data

How Can I Design A Component Like this???


Thanks ...
Posted
Updated 28-Apr-13 3:15am
v3
Comments
[no name] 28-Apr-13 8:27am    
It almost sounds like you are looking for an auto-complete control but your MisUse Of The Keyboard Makes Your Question Really Hard To Understand.
CHill60 28-Apr-13 8:48am    
Do you have a real need to go beyond the built-in AutoComplete functionality on many controls? See http://msdn.microsoft.com/en-us/library/system.windows.forms.textbox.autocompletemode.aspx[^]
Also any solutions will depend upon which platform you are referring to ... is this winforms, asp, other?
Amin ra 28-Apr-13 9:07am    
I 'm Looking Form On Windows Form.
I Don't want AutoComplete Form...
1- When a User Click on TextBox, Event Call and Open a grid,
2-Data Get From DataBase,
3- it mey be multiSelect
CHill60 28-Apr-13 11:32am    
I wouldn't know where to start with this - the only routes I can think of are built-in autocomplete dropdown, a pop-up form (which you say you don't want) or a dynamically generated context menu (which wouldn't fit in with your grid concept or multi select)

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