Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Clone/Copy a Unit and associated Form 11 years 3 months ago #3091

  • Kevin Black
  • Kevin Black's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 22
  • Thank you received: 0
I know this might be a bit numpty, but I cannot see 'the easy' way to do this.

I want to clone a form/unit.

1. If I clone in New window it just opens up the same unit/form in a new window (near a I can work out)
2. If I 'save as' the unit, it doesn't save a new form and associate it, it simply wants me to either delete the old unit and/or update all the references to the old form, ie. no new form is created/copied.

This seems like it should be simple, but isn't.

What is the simple/best way to copy a form/unit so I get AAAAAA.pas/AAAAAA.frm copied to BBBBBB.pas/BBBBBB.frm so that my project now has AAAAAA.xxx and BBBBBB.xxx

What am I missing???

Thanks,
Kevin

Please Log in or Create an account to join the conversation.

  • Page:
  • 1