Object Repository Wizard Registration


  Next the Wizard must be registered with the IDE. I like to make a separate unit that maintains the registration of all wizards.

unit WizardReg;

interface

uses SysUtils, Windows, Controls, ToolsApi, Wizard;

procedure Register;

implementation

  procedure Register;
  begin
  //
  // Create and register our Sample Wizard with the IDE
  //
  RegisterPackageWizard(TSampleWizard.Create as IOTAWizard);
  end;

end.

  Next create a Package (or open an existing package) that will contain the Wizard.

 


mustangpeak.net

  Last Modified on: