Changes

Creating Context Menus in Visual Basic

27 bytes removed, 19:56, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_VISUAL_BASICvbasic</googlehtmlet>
Context menus are added to a form in Visual Basic using the ''ContextMenuStrip'' object and associating it with a particular control. Begin by creating a new Windows Application project in Visual Studio. Next, add a ''RichTextBox'' component to the form so that the form appears as follows and name it ''MyTextBox'':
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
[[Image:visual_basic_textbox_context.jpg]]
<googlehtmlet>BUY_VISUAL_BASIC_BOTTOMvbasic</googlehtmlet>