question

toviaschlesinger-6241 avatar image
0 Votes"
toviaschlesinger-6241 asked karenpayneoregon commented

Undo and Redo how

i didnt find a code works to undo and redo
Please ?Provide me the code


dotnet-visual-basic
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

karenpayneoregon avatar image
0 Votes"
karenpayneoregon answered karenpayneoregon edited

Hello,

To specifically reply to what you ask for see base code Add Undo/Redo or Back/Forward Functionality to your Application, and a companion article with code Undo/Redo Capable TextBox (winforms).

The basics rely on

  • Stack(Of T)

  • EvenHandlers

  • Custom controls (as in the second link above)

  • Overriding WinProc





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

toviaschlesinger-6241 avatar image
0 Votes"
toviaschlesinger-6241 answered karenpayneoregon commented

i tested this
i didnt see a way this shuld work
i tryd it and vb makes an error

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

i tested this

How?

i didnt see a way this shuld work

Can you elaborate?

i tryd it and vb makes an error

What is the exact error and what code gave you the error.



0 Votes 0 ·