Click here to Skip to main content
15,905,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I don't know how to best explain this, but I'll do my best. I want to have a control, I'll say a button to help state my example to help you comprehend what I want to do.
So let's say we have a button that has a city name in it when I press on the button I would like a drop down that has the address stated so
| Chicago |
Let's say this is the control and someone clicks on it then I would like something like this to happen.

| Chicago |
|2650 North Clark Street|
| Chicago, IL|
| 60614-1523|
| USA|
| |
Updated 11-Nov-11 2:27am
UJimbo 11-Nov-11 5:34am    
For winforms, wpf, Asp?
thatraja 11-Nov-11 5:35am    
Windows or web or WPF application? which one? :(
tzortzie 11-Nov-11 8:31am    
Sorry it's a winform.

Just create an array of strings from the address and use it as the Data source for a standard combo.
Share this answer
For winforms, something like this maybe:

SplitButton: an XP style dropdown split button[^]
Share this answer

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