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.
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