Form click event

M

Marc Robitaille

Hello group,

I built a UserControl for a new application that look like a ComboBox. When
the user click on the DropDown, a list of things appeard on the screen. If
the user click on an other control on the form, the Leave event of my
UserControl close the list. But when the user click on the form, the leave
event doesn't execute so my list is still open. How can I trap the click on
the form from my UserControl so I can close the list?

Thank you
Marc R.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top