{----------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/MPL-1.1.html Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is: JvWizardReg.PAS, released on 2002-01-24. The Initial Developer of the Original Code is William Yu Wei. Portions created by William Yu Wei are Copyright (C) 2002 William Yu Wei. All Rights Reserved. Contributor(s): Peter Thörnqvist - converted to JVCL naming conventions on 2003-07-11 You may retrieve the latest version of this file at the Project JEDI's JVCL home page, located at http://jvcl.sourceforge.net Description: Jv Wizard Component Editor History: Date(mm/dd/yy) Comments 01/24/2002 First Create 01/25/2002 TJvWizardAboutDialogProperty, Added by Known Issues: -----------------------------------------------------------------------------} // $Id: JvWizardReg.pas 10610 2006-05-19 13:35:08Z elahn $ unit JvWizardReg; {$I jvcl.inc} interface procedure Register; implementation uses Classes, {$IFDEF COMPILER6_UP} DesignIntf, DesignEditors, {$ELSE} DsgnIntf, {$ENDIF COMPILER6_UP} {$IFDEF USEJVCL} JvDsgnConsts, {$ELSE} JvWizardAboutInfoForm, {$ENDIF USEJVCL} JvWizard, JvWizardRouteMapNodes, JvWizardRouteMapSteps, JvWizardRouteMapList, JvWizardEditorForm; {$R JvWizardReg.dcr} {$IFNDEF USEJVCL} resourcestring RsPaletteWizard = 'Jv Wizard'; {$ENDIF !USEJVCL} procedure Register; const cActivePage = 'ActivePage'; cPages = 'Pages'; begin RegisterComponents(RsPaletteWizard, [TJvWizard, TJvWizardRouteMapSteps, TJvWizardRouteMapNodes, TJvWizardRouteMapList]); RegisterClasses([TJvWizardCustomPage, TJvWizardWelcomePage, TJvWizardInteriorPage]); RegisterComponentEditor(TJvWizard, TJvWizardEditor); RegisterComponentEditor(TJvWizardCustomPage, TJvWizardEditor); RegisterComponentEditor(TJvWizardWelcomePage, TJvWizardEditor); RegisterComponentEditor(TJvWizardInteriorPage, TJvWizardEditor); RegisterPropertyEditor(TypeInfo(TJvWizardCustomPage), TJvWizard, cActivePage, TJvWizardActivePageProperty); RegisterPropertyEditor(TypeInfo(TJvWizardWelcomePage), TJvWizard, cActivePage, TJvWizardActivePageProperty); RegisterPropertyEditor(TypeInfo(TJvWizardInteriorPage), TJvWizard, cActivePage, TJvWizardActivePageProperty); // Added By Steve Forbes {$IFNDEF USEJVCL} RegisterPropertyEditor(TypeInfo(TJvWizardAboutInfoForm), nil, 'About', TJvWizardAboutDialogProperty); {$ENDIF !USEJVCL} // JvWizard Page List Editor RegisterPropertyEditor(TypeInfo(TJvWizardPageList), TJvWizard, cPages, TJvWizardPageListProperty); end; end.