| | |
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 2005 2008 access account arithmetic array arrays basic bing button buttons c# center check checkbox code combobox convert crystalreport data database datagrid datagridview date dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert intel internet listview mobile monitor ms net networking objects output panel passingparameters picturebox picturebox1 port position print printing problem project read remove save searchbox searchvb.net select serial server shutdown soap sorting survey table tcp temperature text textbox timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio2008 web winforms wpf year






