VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

ezUndoRedo

RegX  (15 Submissions)   Object Oriented Programming (OOP)   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This is a simple class module with examples to
add undo/redo functionality to an RichTextBox control. I say simple because there are many ways to implement undo/redo stacks. This is probably the simplest aproach using a single collection for the stack. Other methods include using an array as a stack which is more efficient and seperate undo/redo stacks using either arrays or collections. I used the simplest appraoch here because this is my first class module.
If you like it please vote, and if you want to see changes please let me know.
This class is very simple to use - see examples.

Assumes
No assumptions, code is documented so everything you need to know is included in the examples. The class module is not documented - this example shows how to use the class module, and is not intended as tutorial on writing class modules.

Rate ezUndoRedo (6(6 Vote))

Download ezUndoRedo

ezUndoRedo Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters