Suppress Default Popup Menu for Text Boxes

Category:
Forms and Controls
Type:
Classes
Difficulty:
Advanced
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
This is a class that allows you to suppress the default context menu that appears when you right-click on a text box. The text box takes has a property Let procedure that takes a text box as a parameter. Whatever text box this property is set to will have its default context menu suppressed. The class also includes properties that allow you to toggle between displaying and not displaying the default menu. A sample client form included.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download tbnopopup.zip