VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



ezUndoRedo

by RegX (15 Submissions)
Category: Object Oriented Programming (OOP)
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

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

Download ezUndoRedo

Download ezUndoRedo (6 KB)

ezUndoRedo Comments

No comments have been posted about ezUndoRedo. Why not be the first to post a comment about ezUndoRedo.

Post your comment

Subject:
Message:
0/1000 characters