| Anders Tornblad wrote: |
You could always do some fancy custom painting in your dropdown, but having a ListView-type dropdown doesn't sound trivial. Maybe you could create a new ComboBox-derived class with your own popup Form containing a ListView, and show that from within your ComboBox when the user clicks the drop button or presses the F4 button.
|
|
I did preciously something with a grid(multicolums) in a popupform, and works Ok.
As a matter of fact i got a few of combobox-ish controls based om the same model.
The only problem with that is that the popup form steals the focus, wich make autocomplete (almost) impossible to implement, and that is in this case something i need.
So i made a combobox that is ownerdrawn. everything work fine , autocomplete the multiple colums, databinding etc. The only thing that is missing are the columnheaders.
Remco