Menu

Undo / Redo

Help
M.a.
2021-05-10
2021-07-26
  • M.a.

    M.a. - 2021-05-10

    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.

     
  • Jerome.D (BeanzMaster)

    Hi if i'm remember well just call the undo/redo methods

     
  • tambok

    tambok - 2021-07-19

    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
  • Jerome.D (BeanzMaster)

    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

     
  • tambok

    tambok - 2021-07-26

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.