Hi,
Still struggling with the undomanager, probably because of the wording that is used to explain how it works.
Installed undomanager class: ok
Installed random acces lib : ok
Then it says in the only "tutorial" i can find:
"Using this class is simple. You just need to call AddState whenever there is a new state. UndoManager will compare it to the current top state and will discard duplicate states."
Whenever there is a new state of what ? With one click, the user can change the "state" of 5 buttons, 2 panels and 4 variables.(e.g.)
- Do i have to create a " type undodata (text, color, visible, enabled...etc)" for every different kind of object that changes state (i.e. panel, button, string, integer)?
-How can they possibly all fit into this one "Dim ud as undodata" ?
A little more documentation on the subject may do wonders
thx,
Paul
Still struggling with the undomanager, probably because of the wording that is used to explain how it works.
Installed undomanager class: ok
Installed random acces lib : ok
Then it says in the only "tutorial" i can find:
"Using this class is simple. You just need to call AddState whenever there is a new state. UndoManager will compare it to the current top state and will discard duplicate states."
Whenever there is a new state of what ? With one click, the user can change the "state" of 5 buttons, 2 panels and 4 variables.(e.g.)
- Do i have to create a " type undodata (text, color, visible, enabled...etc)" for every different kind of object that changes state (i.e. panel, button, string, integer)?
-How can they possibly all fit into this one "Dim ud as undodata" ?
A little more documentation on the subject may do wonders
thx,
Paul