ComboBox stay DroppedDown

  • Thread starter Thread starter marianowic
  • Start date Start date
M

marianowic

Hello everyone.
The whole day I'm fighting with this, as I seem, problem.
I made, based on a listed below article, custon ComboBox with
CheckBoxes as items. Everything works greate except hte list, that
hides and shoows itself. I would like it to stay visible until an user
click outside the control or an arrov on the control. Has anyone got
any idea??
Thanks for help... marianowic


ARTICLE: http://www.codeproject.com/cs/combobox/CheckComboBox.asp
 
Hello everyone.
The whole day I'm fighting with this, as I seem, problem.
I made, based on a listed below article, custon ComboBox with
CheckBoxes as items. Everything works greate except hte list, that
hides and shoows itself. I would like it to stay visible until an user
click outside the control or an arrov on the control. Has anyone got
any idea??
Thanks for help... marianowic

ARTICLE:http://www.codeproject.com/cs/combobox/CheckComboBox.asp

Why can you not do the work yourself with a CheckedListbox? Create
the listbox and make it so when it gets focus it expands to a certain
size then resize it back down whenever you lose focus. Sure it
wouldn't have ALL the same functionality of the combo but you could
work some of that in.
 
Yea, but it will loose some important features.
That is why I want to do it as a custom ComboBox with CheckBoxes, nut
with CheckedLIstBox.
Any idea??
 
Yea, but it will loose some important features.
That is why I want to do it as a custom ComboBox with CheckBoxes, nut
with CheckedLIstBox.
Any idea??

There are two possible solutions I can think of:
1. Create a user control of the checked listbox and add features to
mimic the ability of the checked combo and simply resize the listbox
on lostfocus/focus
2. Use the checked combobox and override the lostfocus of the box so
that the list doesn't disappear
 
Back
Top