home *** CD-ROM | disk | FTP | other *** search
- unit Frmmain;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, Nag;
-
- type
- TMainForm = class(TForm)
- NagScreen: TNagScreen;
- Button1: TButton;
- Label1: TLabel;
- procedure Button1Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- MainForm: TMainForm;
-
- implementation
-
- {$R *.DFM}
-
- procedure TMainForm.Button1Click(Sender: TObject);
- begin
- {Fill all the NagScreen fields}
- with NagScreen do
- begin
- {Your Address or Co. Address}
- Address := '239 William Street';
- {The Author Name}
- Author := 'David M. Gentils';
- {City State and Zip Code}
- CityStateZip := 'West Haven, Conn. 06516';
- {Your Copyright}
- CopyRight := 'Copyright ⌐ 1995 - D && L Tech Services';
- {Your product name}
- ProductName := 'NagTest - UnRegistered';
- {The Dialog Caption}
- Title := 'NagTest';
- {Your Version Info}
- Version := 'Version 1.0';
- {Your shareware comment goes here}
- Comments := 'This is the example version of NagTest. ' +
- 'You are free to use this program for xx - days, after which you need ' +
- 'to register it. This program is fully functional and imposes no ' +
- 'restrictions. For registration information see ORDER.TXT or see Online Help.';
- {Invoke NagScreen.Execute function}
- Execute;
- end;
- end;
-
- end.
-