title: Rename VCL Form class in C++ Builder XE2
body: <p>At work we have a rather large C++ VCL forms application. It compiles in Embarcadero XE2, but goes back many years. I need to add a new form to this application. </p>
  
  <p>When you do "File > Add New > VCL Form" a form is created where the class name is <code>TForm1</code>. Also a pointer is created like so: <code>TForm1 *Form1</code></p>
  
  <p>For obvious reasons I want to rename the form and the pointer, to say <code>TStuffForm</code> and <code>*StuffForm</code> . Problem is I cannot get it to work!</p>
  
  <p>To any actual XE2 users out there: <strong>what is the canonical way of doing this?</strong></p>
  
  <p>I have tried renaming straight in code by carefully replacing strings, but it does not work. The IDE goes nuts and fires multiple modal popups at me complaining that the TForm1 class is missing. That was so unpleasant that I gave up on it.</p>
  
  <p>I also tried the refactoring functionality in the IDE as well, but that did not work either. So now I am a bit stuck.</p>