title: Cancel / abort creating a new form in Delphi / C++Builder?
body: <p>Is there any way to cancel or abort form creation from within the form's OnCreate event handler or C++Builder constructor?  </p>
  
  <p>Basically, I'd like to be able to call Close() from OnCreate or from the constructor and have it skip showing the form altogether.  I have several forms that as part of their initialization may determine that they shouldn't be shown at all.  (I realize that I could split apart this portion of the initialization or add extra checks from the calling form or similar, but if there's a way to cleanly do all of this from within OnCreate or the constructor, that seems simplest.)</p>
  
  <p><strong>Edit:</strong>  In response to a few comments, some of the don't-show-at-all logic is UI logic and not business logic; the form might display a confirmation before showing, or it might use a common dialog box to get input for the form then abort if the user cancels that dialog.  (Some of it is business logic and needs to be refactored, but it's often hard to find the time to refactor everything that needs it.)</p>