Menu Wizard Registration


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

unit MenuWizardReg;

interface

uses SysUtils, Windows, Controls, ToolsApi, MenuWizard;

//
// the procedure Register is CaseSensitive!
//
procedure Register;

implementation

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

end.

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

 


mustangpeak.net

  Last Modified on: