Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

How to duplicate a dialog

1 reply to this topic

Stefan Secker

Stefan Secker
  • Members
  • 46 posts

Posted 20 May 2003 - 07:35

Hi there,

i was wondering if someone knows an easy method to duplicate a dialog with all actions, events aso. Right now i allways create an empty one and copy/paste the controls from another to it, but this doesn't copy actions etc.. In addition if there are a lot controls with conditional hiding etc. I get confused, because this way they loose their names... ???

Maybe something like exporting to another project, renaming and importing back from there... ??? huh.gif

Thanx in advance...


Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 20 May 2003 - 10:13

Yes, that's the way to go:
rename the dialog
export it
rename it back
import the renamed dialog

Beware that you now have duplicate controls, e.g. radio group properties. Deleting one may delete it on the other dialog, too. Also the dialogs are using the same string table entries, so you would have to assign new string table entries if you want to have different text on the two dialogs