How to regenerate/resync Unit code from Form or Frame?
Posted on 2000-03-11
I am using Delphi 5. I defined a frame as part of a project and put a number of visual components on it. As normal, Delphi built a Unit, and filled in the definition of the frame object with the names and types of the components.
At one point, Delphi generated a bunch of Access Violations in DFWEDIT when I displayed that page in the editor. After I cleared them, I restarted Delphi. When I re loaded the project, all the definitions for the Frame form were gone. The components are all still on the Frame's form, though. The unit only contains type MyFrame = class(Tframe) private public end;
How do I get Delphi to use the visual form and regenerate the corresponding code in its unit? I can't find anything like regenerate,
recreate, or resync in the help.