Answered by:
Multi column combobox dropdown list

Question
-
Hi,
I am trying to create a Multicolumn combobox in vb.net.
i follow these steps
1)Create a usercontrol
2)inherit from combobox class
3) override onDrawItem and display a datagridview with the multiple columns.
All this works fine, But when the small arrow icon in combobox is clicked(to list dropdown items)
the default inbuilt listbox gets displayed for a fraction of second and followed by datagridview.
It kind of looks ugly, is there any way i can preven the inbuilt list to popdown?
Thanks for your time.
- Moved by Karel ZikmundMicrosoft employee Tuesday, May 22, 2012 5:32 AM Wrong forum. Which UI stack? (From:Building Development and Diagnostic Tools for .Net)
Sunday, May 13, 2012 2:45 PM
Answers
-
Would you like to post the test code here?
Have a nice day.
Ghost,
Call me ghost for short, Thanks
To get the better answer, it should be a better question.- Proposed as answer by Ed Price - MSFTMicrosoft employee Monday, May 28, 2012 5:19 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, June 6, 2012 1:09 AM
Monday, May 14, 2012 8:36 AM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, June 6, 2012 1:09 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, June 6, 2012 1:09 AM
Monday, May 28, 2012 5:20 PM
All replies
-
Would you like to post the test code here?
Have a nice day.
Ghost,
Call me ghost for short, Thanks
To get the better answer, it should be a better question.- Proposed as answer by Ed Price - MSFTMicrosoft employee Monday, May 28, 2012 5:19 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, June 6, 2012 1:09 AM
Monday, May 14, 2012 8:36 AM -
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, June 6, 2012 1:09 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Wednesday, June 6, 2012 1:09 AM
Monday, May 28, 2012 5:20 PM