Hi,
I have a project and I want to add undo/Redo feature to it, how can do that easily? how can use GizmoEx component for undo/redo ? I looket at GizmoEx example but Don't understand usage method.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have a test project too. i want to implement undo/redo in this project.
i have tried to look in the demo but still I don't understand.
Is there any other demo beside this GizmoEx?
some basic demos possibly?
Hope the GLScene team always success
Regards
tbk
Last edit: tambok 2021-07-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you use GizmoEx, undo/redo is automatic. If you want to use undo/redo mechanisme in GLGizmoEX unit you must play with TGLGizmoExActionHistoryCollection. You have two methods addObjects and addObject. After you have undo and redo methods.
Check the undo/redo procedure in TGLGizmoEx to see how to use it. You'll see it's simple
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oke, i will try it again. Maybe i have to look it more deeper. I would be very happy and appreciated, if there are additional demos just about certain basic functions.
Regards
Tbk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a project and I want to add undo/Redo feature to it, how can do that easily? how can use GizmoEx component for undo/redo ? I looket at GizmoEx example but Don't understand usage method.
Hi if i'm remember well just call the undo/redo methods
Hi M.a
Hi Jerome.
i have a test project too. i want to implement undo/redo in this project.
i have tried to look in the demo but still I don't understand.
Is there any other demo beside this GizmoEx?
some basic demos possibly?
Hope the GLScene team always success
Regards
tbk
Last edit: tambok 2021-07-19
Hi Tambok, nice project. :)
If you use GizmoEx, undo/redo is automatic. If you want to use undo/redo mechanisme in GLGizmoEX unit you must play with TGLGizmoExActionHistoryCollection. You have two methods addObjects and addObject. After you have undo and redo methods.
Check the undo/redo procedure in TGLGizmoEx to see how to use it. You'll see it's simple
Hi Jerome.
Thanks for replay.
Oke, i will try it again. Maybe i have to look it more deeper. I would be very happy and appreciated, if there are additional demos just about certain basic functions.
Regards
Tbk