Re: help me with usercontrol
actually i wanted an user control which has 2 object, one label and one combo box.
when the control has the focus(label is not visible) it must allow the user to select an item from the combo list and when it loses its focus(combo is not visible) it must set the value of the label to its text
Re: help me with usercontrol
What you're asking for is not possible. If you have a UserControl with only a Label on it then there's nothing to receive focus. You could handle the Click event of the Label and display the ComboBox again but you won't be able to tab to it.