Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Hsjsnsns

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
08-06-2024
Written in
2023/2024

Visual Basic (VB) is an event-driven programming language and environment from Microsoft that provides a graphical user interface (GUI) which allows programmers to modify code by simply dragging and dropping objects and defining their behavior and appearance.

Show more Read less
Institution
Course

Content preview

MANUAL TITLE
DOCUMENT NO. : CAG 08H
SARADHA COURSE GUIDE – PROGRAMMING WITH
REV. NO.: R0 DATE: 23/07/2020
GANGADHARAN VISUAL BASIC
COPY :
COLLEGE
DOCUMENT TITLE PAGE 46 OF 70
UNIT IV
MENUS, DIALOG BOXES & MDI Edition : 1




MenuStrip: The Menu Editor

Menus can be attached only to forms, and they’re implemented through the MenuStrip control.
The items that make up the menu are ToolStripMenuItem objects. The MenuStrip control and
ToolStripMenuItem objects give you absolute control over the structure and appearance of the
menus of your application. The MenuStrip control is a variation of the Strip control, which is
the base of menus, toolbars, and status bars. You can design menus visually and then
program their Click event handlers.




After drag the Menustrip on your form you can directly create the menu items by type a value
into the "Type Here" box on the menubar part of your form
/tmp/unoconv_1710462176.doc




PREPARED/REVISED BY : F. Jeno Sandana Brina Rouvier REVIEWED & APPROVED BY : D. Saraswathi
DESIGNATION : ASSIST. PROF. – B.C.A DESIGNATION : Asst. prof, M.Sc(cs)
DATE : 06/07/2020 DATE : 06/07/2020

, MANUAL TITLE
DOCUMENT NO. : CAG 08H
SARADHA COURSE GUIDE – PROGRAMMING WITH
REV. NO.: R0 DATE: 23/07/2020
GANGADHARAN VISUAL BASIC
COPY :
COLLEGE
DOCUMENT TITLE PAGE 47 OF 70
UNIT IV
MENUS, DIALOG BOXES & MDI Edition : 1




If you need a separator bar, right click on your menu then go to insert->Separator.




After creating the Menu on the form , you have to double click on each menu item and write
the programs there depends on your requirements. The following Vb.Net program shows how
to show a messagebox when clicking a menu item.

EX: Public Class Form1

Private Sub MenuItem1ToolStripMenuItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
MenuItem1ToolStripMenuItem.Click
MsgBox("You are selected MenuItem_1")
End Sub
End Class

ToolStrip control

ToolStrip control provides functionality of a Windows toolbar controls in Visual Basic. ToolStrip
class represents a ToolStrip control in Windows Forms and serves as a base class of
MenuStrip, StatusStrip, and ContextMenuStrip classes. ToolStrip control has its properties and
methods.
/tmp/unoconv_1710462176.doc




PREPARED/REVISED BY : F. Jeno Sandana Brina Rouvier REVIEWED & APPROVED BY : D. Saraswathi
DESIGNATION : ASSIST. PROF. – B.C.A DESIGNATION : Asst. prof, M.Sc(cs)
DATE : 06/07/2020 DATE : 06/07/2020

Written for

Institution
Course

Document information

Uploaded on
June 8, 2024
Number of pages
9
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$20.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sachin8

Get to know the seller

Seller avatar
sachin8 Pondicherry University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
5
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions