Menus and tool bars in visual basic, Visual Basic Programming

Assignment Help:

MENUS AND TOOL BARS 

The Menu options can be checked, enabled, disabled, and popped up on an object.

The Menu Object:

The Menu control is used to generate a menu in the Visual Basic. It has numerous properties and only an event. It has no methods. A menu has titles like Project. Each title holds menu items. A separator can be used to group the associated items within one menu. The menu editor is used for generating the menu.

The Menu Editor:

Select the Tools and then Select the Menu Editor to open the menu editor. The menu editor will exhibit the properties as shown in figure. The significant properties are checked, caption, enabled, Name, shortcut & visible. Now Click on the form to make it the active form. Then only, the menu editor will be enabled. Or else it will be grayed and it cannot be selected.

(i) The Caption Property:

The Caption Property is the item's name or the title name. The text we type as the caption becomes the title or item under the title. You can set an & before any character of the caption. That character will be the accelerator for that item.

(ii)The Checked Property:

The Checked Property will put a check mark next to the menu item. The Title's cannot be checked. The check mark can be toggled. The checked property can be put to on or off during the run time.

(iii)The Enabled Property:

This property when put to FALSE will disable the menu item. At the run time you can facilitate the property.


Related Discussions:- Menus and tool bars in visual basic

Control array, CONTROL ARRAY The control array is a group of similar ob...

CONTROL ARRAY The control array is a group of similar objects with similar name. Adding controls with control arrays uses less resource than simply adding the multiple controls

Program for elevator application, You are given a console program in both V...

You are given a console program in both VB and C# that uses a class CElevator (ElevatorAppAssign). The main modules are in the assign directory class files. Below is a discus

Programming, i have connected my visual basic 2010 express in ports and use...

i have connected my visual basic 2010 express in ports and use it to send sms but it failed... now my teacher said that i have to use my LAN not port to send it instead..... please

Hotel management system, i need to do my final project for my last year bsc...

i need to do my final project for my last year bsc honours degree in Business Information systems. I need to develop a system which is operational for hotel management system. th

WebTime ASP.net , Let us modify the webTime ASP.NET project that we develop...

Let us modify the webTime ASP.NET project that we developed. We will add drop down lists for modifying the different style elements for the label element that displays the time. We

Making decisions with select case, The Select Case structure provides an op...

The Select Case structure provides an option to If...Then...Else If for selectively executing one block of statements from amongst multiple blocks of statements. Any Select Case st

Program to zoom a rectangle as you drag - visual c++, PROGRAM TO ZOOM A REC...

PROGRAM TO ZOOM A RECTANGLE AS YOU DRAG 1. Generate a SDI application 2. Declare the 2 member variables clicked of Boolean type and m_ptoldpt of CPoint type. Use the class t

Shopping cart, Shopping Cart Purpose – Allows user to browse while keeping ...

Shopping Cart Purpose – Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for al

Login form, How to create a login form in vb 2010

How to create a login form in vb 2010

Deleting handlers with class wizard, Deleting Handlers With Class Wizard: ...

Deleting Handlers With Class Wizard: The handler can be deleted by using the class wizard. The class wizard will delete the prototype and message map entry. The user should ma

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd