menu

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a mainmenu and sub menus. One of my menus is menuItem5 and when the form runs and the menuItem is clicked the form resizes itself to make it bigger(More Details). I would like the form to show Less Details and the form resiZe itself back to the way it started
 
Hi
If you mean you want the same menu item to do that ( ie you want the same
menu item to sort of toggle between the two jobs . you can change the menu
item checked property to true( it now hold a state) . then in the click
event handler check if checked or not and so the appropriate resizing
accordingly
Hope that helps

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

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

Back
Top