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

Scope and lifetime of variables, The scope of a variable is finding out by ...

The scope of a variable is finding out by where you declare it. While you declare a variable in a procedure, only code in that procedure can access or alter the value of that varia

Hangman, how to add the hangman images

how to add the hangman images

Check box - visual basic, Check Box: The check box control takes the v...

Check Box: The check box control takes the value as on or off or grayed. The grayed one is neither on nor off. The user can transform the setting of the grayed check box.

Benefits of using dynamic link library, Benefits of Using DLLs: The dy...

Benefits of Using DLLs: The dynamic linking has the following advantages which are as shown below: It saves memory and decreases the swapping. Many processes can use a s

Data types - windows programming, Data types: The New data types were ...

Data types: The New data types were defined by using the typedef or #define statements. This was to allow the transition from 16 bit to 32 bit system. Some of the fresh data t

Variable naming conventions, For reason of readability & consistency, emplo...

For reason of readability & consistency, employ the following prefixes along with descriptive names for variables in your VBScript code. S ub type Prefi

C#, I HAVE A C# ASSIGNMENT , WILL I FIND SOMEONE PROFESSIONAL HELP HERE ?

I HAVE A C# ASSIGNMENT , WILL I FIND SOMEONE PROFESSIONAL HELP HERE ?

Create a calculator application, Create a VB calculator application that ap...

Create a VB calculator application that appears as in the screen shots below. The user enters numbers in the textboxes labelled Number 1 and Number 2. When a calculati

Multiple document interface (mdi) windows , MULTIPLE DOCUMENT INTERFACE (MD...

MULTIPLE DOCUMENT INTERFACE (MDI) WINDOWS   The SDI (Single document interface) supports one open window or document at a particular time. Microsoft's notepad and paint are il

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