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
Using Visual Studio 2010 C++ 1) Using Windows Explorer, make a copy of Irvine\examples\Project_sample folder in the folder where you keep your materials for this course.

Methods: VBScript Dictionary Object Method D escription Add Method Adds a key, item pair. Exists Method

I have a project due tomorrow that I am really struggling in. Please help.

How to pull ordered menu from a cash till to database or display on a computer screen

Adding Events in VB   For adding the events in VB, first double click on the command button with the caption hello. The Private Sub command1_Click () and End Sub would be

USE OF SERIALIZE FUNCTION IN DOCUMENT CLASS TO IMPLEMENT FILE void CStoreDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here }

Beyond the simple string or numeric classifications, Variant can make added distinctions regarding the specific nature of numeric information. For instance, you can have numeric in

The Document: The document contains the user's data. For illustration, after working on a text processor, the user may wish for to save the file. Such an action builds a docum

what are the functions and the importance of hierarchy operators

RESOURCES The cursors, Icons, dialog, bitmaps accelerators, menu, table tool bar and string are the different resources. The resources are compiled by the resource compiler. Th