home *** CD-ROM | disk | FTP | other *** search
- {
- TDBComboBoxPlus & TDBComboBoxPlus Component
- Registration Module
- Advanced Components for Delphi
-
- Copyright (c) 1995 Out & About Production, All Rights Reserved
-
- Version 2.1 (3/96)
- }
-
- unit Cbplus32;
-
- interface
-
- uses Classes, DsgnIntf, DBLup1a, DBLup1b, Dialogs;
-
- Type
- TComboPlusComponentEditor = class(TDefaultEditor)
- public
- procedure ExecuteVerb(Index: Integer); override;
- function GetVerb(Index: Integer): string; override;
- function GetVerbCount: Integer; override;
- end;
-
- procedure Register;
-
- implementation
-
- procedure TComboPlusComponentEditor.ExecuteVerb(Index: Integer);
- begin
- MessageDlg('TComboBoxPlus && TDBComboBoxPlus'
- +#10#13+ '(c) 1995, 1996, Out && About Productions'
- +#10#13+ '75664.1224@compuserve.com'
- +#10#13+ 'Fax 619.566.0210' ,mtInformation,[mbOK],0);
- end;
-
- function TComboPlusComponentEditor.GetVerb(Index: Integer): string;
- begin
- result := 'Component Info';
- end;
-
- function TComboPlusComponentEditor.GetVerbCount: Integer;
- begin
- result := 1;
- end;
-
-
-
- procedure Register;
- begin
- RegisterComponents('Data Controls', [TDBComboBoxPlus]);
- RegisterComponents('Standard', [TComboBoxPlus]);
- RegisterComponentEditor(TComboBoxPlus,TComboPlusComponentEditor);
- RegisterComponentEditor(TDBComboBoxPlus,TComboPlusComponentEditor);
- end;
-
- end.
-