Question How to create an Undo function

MrPhilbert

New member
Joined
Nov 8, 2011
Messages
2
Programming Experience
Beginner
Hi, I am a beginner VB programmer and my first project is to do a random app. I am working on a Notepad like text editor and I'm trying to put an Undo function in it. When you click the undo menu, I want to simply undo the last action (added char, removed char, paste, delete...). It doesn't have do remember all the past actions, I just want it to undo the last action even if the last one was undo... For now I have a button in a tool strip menu (tsmAnnuler) and my richtextbox (rtbZoneTexte). It's my first post here so tell me if I forgot to mention important informations. Thanks a lot!
 
Back
Top