* New post Constructor Destructor and Inheritance& Array , Virtual base class in c++ language

Tuesday, 5 March 2013

0 MENUS,CONTEXT MENUS

MENU ,CONTEXT MENUS
Menu are those controls that allows to make selection and also hide away those selection ,when they are not needed ,saving space in windows application , that is always at a premium. the MAINMENU control represent the container for the menu structure of a form ; we can assign a control of the type to a form menu property at runtime.We can add submenus to menus that will pop up when we click an arrow in the menu item ,display checkmarks ,create menu seperators ,assign shortcut keys (ctrl+h) to menu item.
                   PROPERTIES FOR MENUS 
  • CHECKED= Sets ,if a checkmark should appear next to a menu item.
  • ENABLED= Sets , if the menu item is enabled.
  • MENUITEMS= Gets the collection of menu item objects for the menu.
  • TEXT= Sets the caption of the menu item.
  • VISIBLE= Sets , whether the menu item is visible.
CONTEXT MENUS= We can use contextmenu controls to give access to frequently used menu commands . and bring by right clicking another controls .We can see a context menu at work in contextmenu .We usually use contextmenu to display controls specific options such as cut ,copy ,paste.
The property of the context menu control is the menuitems property ,we can add menu items to a context menu at design time.

0 comments:

Post a Comment

 

PROGRAMMINGqueen Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates

Blogger Widgets