Professional Documents
Culture Documents
ANDHRA PRADESH
Name of the faculty: G. Radha
Designation : Lecturer
Branch : CCP
Institute : 026 - SG Govt. Polytechnic, Adilabad
Year / Semester : III Year / V Semester
Subject : Visual Basic – I
Subject Code : CCP - 503
Topic : Understand Menus and Common
dialogue control .
Duration : 50 Mts.
Sub Topic : menus – popup menu , check marks
etc.,
Teaching Aids : Animations & Images
CCP503.16 1
Recap
CCP503.16 2
Objectives:
Upon completion of this period, the student will
be able to understand about
CCP503.16 3
Pop-up Menus
CCP503.16 4
Popup Menu Method
CCP503.16 5
Syntax of Pop-up Menu Method
CCP503.16 6
Syntax of Pop-up Menu Method
CCP503.16 7
Example of Pop-up Menu
CCP503.16 8
Example of Pop-up Menu
CCP503.16 9
Example of Pop-up Menu
CCP503.16 10
Using Check Marks
CCP503.16 11
Example of Check Marks
CCP503.16 12
Example of Check Marks When
Checked
CCP503.16 13
Example of Check Marks When Un-
Checked
CCP503.16 14
Enabling and Disabling Menu Commands
CCP503.16 15
Enabling and Disabling Menu Commands
CCP503.16 16
When Menu Item is Disabled
Disabled
CCP503.16 17
Enabling and Disabling Menu Commands
Disabling a Menu Title in effect disables the entire
Menu, since the user can not access any Menu
Item without first clicking the Menu Title.
For Example, the following code in Form_Load()
procedure disables the Colors Menu of the Color /
Size Program.
MnuColors.Enabled = False
CCP503.16 18
When Menu Title is Disabled
Disabled
CCP503.16 19
Making Menu Controls Invisible
CCP503.16 20
When Menu Item is Invisible
CCP503.16 21
Making Menu Controls Invisible
CCP503.16 22
When Menu Title is Invisible
Colors Menu
Title is not
Visible
CCP503.16 23
Summary
Creating Pop-up Menus.
Usage of Checkmarks in Menus.
Enabling and disabling Menu
Commands.
Making Menu Controls Invisible.
CCP503.16 24
THANK YOU
CCP503.16 25
Quiz
CCP503.16 26
2. Check mark can be placed on a Menu
Item using _____ property.
A) Enable
B) Check
C) Visible
CCP503.16 27
3. The property used to hide the Menu Item
completely is
A) Enable
B) Visible
CCP503.16 28
Frequently Asked Questions
CCP503.16 29
Assignment
CCP503.16 30