PC Review


Reply
Thread Tools Rate Thread

Collaps a menu?

 
 
Peter
Guest
Posts: n/a
 
      4th Jan 2008
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
 
Reply With Quote
 
 
 
 
martin.zugec@gmail.com
Guest
Posts: n/a
 
      9th Jan 2008
Maybe I didnt understand correctly, but menu.HideDropDown() should do
the job.

Martin
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Expand any node then other node collaps using JS - Treeview Contro Manoj Microsoft ASP .NET 0 4th Nov 2008 02:35 PM
Expand and Collaps Groups while Protected =?Utf-8?B?Ymx1ZQ==?= Microsoft Excel Worksheet Functions 0 16th Jan 2007 02:19 AM
How to use standard expand/collaps buttons of TreeView ulrik@e-mail.dk Microsoft Dot NET Framework Forms 0 17th Oct 2006 02:26 PM
Word should let me rearrange the order of subdocuments in collaps. =?Utf-8?B?bGl2aW5nd29vZA==?= Microsoft Word Document Management 1 16th Mar 2005 01:47 AM
How do I make a group of data (not figures) which could be collaps =?Utf-8?B?RGVzbW9uZCBMb3c=?= Microsoft Excel Worksheet Functions 4 10th Nov 2004 05:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:32 PM.