| | |
Selecting text event in RichTextBox
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
Sorry, my first one was incomplete.
Try using the RichTextBox_SelectionChanged Event.
Inside of the event handler test the SelectionLength property of the RichTextBox like this:
Try using the RichTextBox_SelectionChanged Event.
Inside of the event handler test the SelectionLength property of the RichTextBox like this:
VB.NET Syntax (Toggle Plain Text)
If RichTextBox.SelectionLength > 0 Then MenuStripItems.Visible = True else MenuStripItems.Visible = False End If
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: PLZ let me know how to store a respond of a MSG BOX
- Next Thread: Help with my basketball project
| Thread Tools | Search this Thread |
.net .net2008 2008 access account advanced application array basic beginner browser button buttons center click code combo cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic excel exists fade filter forms generatetags gridview html images input insert intel internet listview map mobile module monitor msaccess net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey table temperature textbox timer timespan transparency txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year






