Collaps a menu?

P

Peter

Hello,
i've a windows-form with a menustrip containing toolstripmenuitems with
sub-menus where one sub-menu contains two toolstripcomboboxes. The selected
values of these comboboxes are used as criterias for a database selection -
the database results are shown on a grid on the form.
Everything works fine - my problem is that after the selection of a value in
a combobox the menu stays on the form, but i would prefer that the menu
"collapses" after the selection because normally the user would work with the
database results.

Is there a way to close/collaps the menu?

Thx
Peter
 
M

martin.zugec

Maybe I didnt understand correctly, but menu.HideDropDown() should do
the job.

Martin
 

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