6

In the Delphi Form Designer how do I undo changes. I press Ctrl + Z and nothing happens, I go to Edit -> Undo and it is grayed out.

Am I just missing something or does this just not work?

Also, if it does just not work, are there any plugins which I could install to fix it?

energ1ser
  • 2,703
  • 4
  • 24
  • 31
  • 6
    http://qc.embarcadero.com/wc/qcmain.aspx?d=2747 – Sertac Akyuz Mar 03 '14 at 23:38
  • Undo/redo only works in the code editor. Adding it to the form designer has been a feature request for quite some time, as @Sertac's link indicates. – Ken White Mar 03 '14 at 23:45
  • 2
    Wow, I can't believe it was reported in 2002 and hasn't been added. – energ1ser Mar 03 '14 at 23:53
  • 1
    But you can *undelete* components in the form designer using Ctrl+Z. – Andreas Rejbrand Mar 04 '14 at 00:40
  • @Andreas: Yes, but you can't undo positioning or alignment or property changes. In the Code Editor, you can undo/redo anything you've done previously, including after you've saved (with the proper options set). – Ken White Mar 04 '14 at 00:42
  • You can still use the History tab to revert to a previous version of the DFM. – Uwe Raabe Mar 04 '14 at 08:24
  • 7
    Isaac Asimov predicted this in 1964. While mankind would rise to the challenges of self-driving cars, the Internet, and moon colonies, scientists of the future would likely still be struggling with the problem of `undo` in the Delphi IDE. – J... Mar 04 '14 at 10:29

2 Answers2

8

Am I just missing something or does this just not work?

Nope, it just does not work. This feature has never been implemented.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
0

As an update to this problem, this topic was re-opened in 2015 with a new feature request on the Embarcadero Quality Portal. The request was closed within weeks with a resolution of "Won't Fix", so not only does this feature not exist, Embarcadero has firmly now declared that they do not ever intend to provide this feature.

J...
  • 30,968
  • 6
  • 66
  • 143