toolstrip items staying visible

Moorzee

Well-known member
Joined
May 31, 2006
Messages
92
Location
England
Programming Experience
3-5
Just a quick one on a problem I was experiencing with embedding a Custom user control in a toolstrip.

I have a menu structure of a toolstripDropDownButton and under this some toolstripMenuItems with custom controls as their children.

On a button click of my custom controls an event was handled and results added to a datagrid. However my control and the path taken to this control remained visible on screen until I clicked another control on the form. I have found that if I call the .HideDropDown() method of the top level dropdownButton this cures the problem.

Cheers.
 
Back
Top