Beginning Visual Basic® 2015 by Bryan Newsome
Author:Bryan Newsome
Language: eng
Format: epub
ISBN: 9781119092087
Published: 2015-11-14T00:00:00+00:00
NOTE This example shows you how to use the timer control in another way. Using the timer control to call other methods is not always the best place. You can call the ToggleMenus events when the user clicks other objects as well.
SUMMARY
This chapter explained how to implement menus, menu items, and submenu items. You also learned how to implement multiple toolbars, although that was not the focus of the chapter. Through practical hands-on exercises, you have seen how to create menus, menu items, and submenu items. You have also seen how to add access keys, shortcut keys, and images to these menu items.
Because you used the Edit menu in the Try It Outs, you have also seen how easy it is to implement basic editing techniques in your application by using the properties of the TextBox control and the Clipboard object. Now you know how easy it is to provide this functionality to your users—something users have come to expect in every good Windows application.
You also explored how to create and implement context menus and how to override the default context menus provided by Windows. Because you already coded the procedure to implement undo, cut, copy, and paste operations, you simply reused that code in your context menus.
Now that you have completed this chapter, you should know how to do the following:
Add a MenuStrip control to your form and add menus, menu items, and submenu items.
Customize the menu items with a check mark.
Add access keys and shortcut keys to your menu items.
Add a ContextMenuStrip control to your form and add menu items.
Use the properties of the TextBox control to toggle the Enabled property of menu items.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12579)
Hello! Python by Anthony Briggs(9918)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9797)
The Mikado Method by Ola Ellnestam Daniel Brolund(9780)
Dependency Injection in .NET by Mark Seemann(9341)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8303)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7764)
Grails in Action by Glen Smith Peter Ledbrook(7699)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7558)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7104)
Microservices with Go by Alexander Shuiskov(6873)
Practical Design Patterns for Java Developers by Miroslav Wengner(6785)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6731)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6420)
Angular Projects - Third Edition by Aristeidis Bampakos(6143)
The Art of Crafting User Stories by The Art of Crafting User Stories(5667)
NetSuite for Consultants - Second Edition by Peter Ries(5599)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5409)
Kotlin in Action by Dmitry Jemerov(5068)
