Any of the Words
Link to us
ucRTFEditor -- Richtextbox editor control
VB 2010, VB 2012, C# 2010, C# 2012
I wrote this because I got tired of looking for a free control that works like this; most of the time I only find similar editor examples as full editor applications. I am not keeping any rights to this code and am presenting it as is. If you make any improvements or catch/fix any bugs please pass them along; I want this control to keep evolving to the best and finest of its kind. Also, please keep up the documentation in the code as you add to / make revisions. Please make sure you document what you changed / added so I can merge it into the master copy of the control that I'll be still working on. This control is designed to be a self-contained word processor / editor for RTF based files or memo fields (the file you are reading was written using the control). Some of the features that are included are.... Standard file operations (open, save, new, print, print preview, ...); any or all of these can be turned off according to properties Standard editing (copy, paste, find, replace, ...) Locking the contents for read-only Standard formatting options (font selection, text color, background color, bold, alignment, bullets, indents, ...) Inserting of images and date (by format / selection window) Inserting tables -- RTF is very basic, so is this function Methods to turn on/off entire menus, toolbars, ... Added new property -- ToolbarsOnFocusOnly. This property will hide dynamically show/hide the toolbars of the editor depending on focus of the editor and the LockEditor property, NEW: Added SelectionStart, SelectionLength, SelectedText, and SelectedRTF properties. NEW: Added a C# version of the control as well! (Thanks to Muhammed Shaheen Nishad for the conversion!)
© 2017 A1VBCode. All rights reserved.