home *** CD-ROM | disk | FTP | other *** search
- unit %s;
-
- interface
-
- implementation
-
- end.
- |unit %s;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
-
- type
- T%s = class(T%s)
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- %1:s: T%1:s;
-
- implementation
-
- {$R *.DFM}
-
- end.
- |unit %s;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
-
- type
- %s = class(%s)
- private
- { Private declarations }
- protected
- { Protected declarations }
- public
- { Public declarations }
- published
- { Published declarations }
- end;
-
- procedure Register;
-
- implementation
-
- procedure Register;
- begin
- RegisterComponents('%s', [%1:s]);
- end;
-
- end.
- |unit %s;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
-
- type
- T%s = class(T%s)
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- implementation
-
- {$R *.DFM}
-
- end.
- |unit %0:s;
-
- interface
-
- uses
- Classes;
-
- type
- %1:s = class(TThread)
- private
- { Private declarations }
- protected
- procedure Execute; override;
- end;
-
- implementation
-
- { Important: Methods and properties of objects in VCL can only be used in a
- method called using Synchronize, for example,
-
- Synchronize(UpdateCaption);
-
- and UpdateCaption could look like,
-
- procedure %1:s.UpdateCaption;
- begin
- Form1.Caption := 'Updated in a thread';
- end; }
-
- { %1:s }
-
- procedure %1:s.Execute;
- begin
- { Place thread code here }
- end;
-
- end.
- |program %s;
-
- uses
- Forms;
-
- {$R *.RES}
-
- begin
- Application.Initialize;
- Application.Run;
- end.
- |library |;
-
- uses
- ShareMem,
- | LibMain;
-
- |
- exports
- InitLibrary name LibrarySignature;
-
- begin
- |end.
- |library %s;
-
- { Important note about DLL memory management: ShareMem must be the
- first unit in your library's USES clause AND your project's (select
- Project-View Source) USES clause if your DLL exports any procedures or
- functions that pass strings as parameters or function results. This
- applies to all strings passed to and from your DLL--even those that
- are nested in records and classes. ShareMem is the interface unit to
- the BORLNDMM.DLL shared memory manager, which must be deployed along
- with your DLL. To avoid using BORLNDMM.DLL, pass string information
- using PChar or ShortString parameters. }
-
- uses
- SysUtils,
- Classes;
-
- {$R *.RES}
-
- begin
- end.
- |package %s;
-
- end.
- |package |;
-
- |{$DESCRIPTION |}
- |{$RUNONLY}
- |{$DESIGNONLY}
- |requires
- |contains
- |
- end.
- |
-