How do I make a nice undo thingy for my menu?

  • Thread starter Thread starter Qwerty
  • Start date Start date
Q

Qwerty

I have seen various websites that say to use


Textbox1.undo()


but I want to have my undo button apply to all of the textboxes in my
program.
 
Try creating an undo class where the textboxes.Text are pushed onto a stack
or put into a que.
 
Putting textboxes in an array and using the index in a for each
statement should be workable.

Or use the textbox object in a afor each statement should work for you.




I have seen various websites that say to use


Textbox1.undo()


but I want to have my undo button apply to all of the textboxes in my
program.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top