Menus and tool bars in visual basic, Visual Basic Programming

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.

Posted Date: 10/9/2012 8:59:26 AM | Location : United States







Related Discussions:- Menus and tool bars in visual basic, Assignment Help, Ask Question on Menus and tool bars in visual basic, Get Answer, Expert's Help, Menus and tool bars in visual basic Discussions

Write discussion on Menus and tool bars in visual basic
Your posts are moderated
Related Questions
Software With Inappropriate Behavior: You would save a document; print it, and then you'll try to close it. The program will ask you if you want to save. This is because; the

THREE MODELS FOR USER INTERFACE DESIGN   The 3 models for the user interface design are the implementation model, mental model &the manifest model. The Implementation Mod

A Project to Display a Database: 1. Suppose that there are 5 fields describing a customer. Id, address, name, city & state. 2. Put 5 text boxes on the form to exhibit the r

You declare variables explicitly in script via the Dim statement, the Public statement, & the Private statement. For illustration: Dim DegreesFahrenheit You declare multiple

Sets or returns wholly qualified path to a Help File. If Help file is indicated in HelpFile, it is called automatically when the user clicks Help button (or presses the F1 key) in

departmental store attributes

steps of connecting database from vb6.0

Use of WM_SIZE Message: Whenever the WM_SIZE message is handled and the graphical objects on the output window will also change consequently to the output window. The functi

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

Do While Loop Statement : The statements contained by the do...while loop block executes till the condition given in the while is true. The working of do...loop is elaborate