home *** CD-ROM | disk | FTP | other *** search
- {*******************************************}
- { GTForm Component Registration unit }
- { By GenoTechs, Inc. }
- { Copyright(c) GenoTechs, Inc. 1996 }
- { All rights reserved }
- {*******************************************}
-
- unit Gt32reg;
-
- {$B-,P+,W-,X+}
-
- interface
-
- procedure Register;
-
- implementation
-
- {If using the GTStringGrid, remove braces from the unit name GT32SGRD below}
- uses
- Classes, GTSize32, {GT32SGRD,} GTDBSizr ;
-
- {$R GTSize32.dcr}
-
- {Remove one left brace from the following line if using GTStringGrid}
- {{$R GT32SGrd.dcr}
-
- procedure Register;
- begin
- { The RegisterComponents line below adds both GTForm and GTDBForm }
- { components to the same page on the component palette }
- { Remove comments from around the line. Replace 'GTControls' with }
- { the name of the page you want the GTSizer components to appear on. }
- { Compile and save this unit, then use OPTIONS>INSTALL COMPONENTS }
- { command to add this unit to the component palette }
-
- { RegisterComponents('GTControls', [GTForm, GTDBForm]);{}
-
- { To separate the GTDBForm from the GTForm remove comments from around }
- { the following 2 lines. Enter the page of the component palette }
- { for each one. Be sure to comment out the RegisterComponents line above.}
- { Compile and save this unit, then use OPTIONS>INSTALL COMPONENTS }
- { command to add this unit to the component palette }
-
- RegisterComponents('Additional', [GTForm]);
- RegisterComponents('Data Controls', [GTDBForm]);
-
- {If you want to use the GTStringGrid, uncomment the following line}
- { RegisterComponents('Additional', [GTStringGrid]);{}
-
-
- end;
-
- end.
-