home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 March
/
Chip_1999-03_cd.bin
/
zkuste
/
delphi
/
INFO
/
DI9811YA.ZIP
/
udMain.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1998-04-30
|
796b
|
45 lines
unit udMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TfrmUnderD = class(TForm)
lblUnderD: TLabel;
btnOk: TButton;
procedure FormCreate(Sender: TObject);
procedure btnOkClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmUnderD: TfrmUnderD;
implementation
{$R *.DFM}
uses
DelRun;
procedure TfrmUnderD.FormCreate(Sender: TObject);
begin
Application.Title := Caption;
if RunningUnderDelphi then
lblUnderD.Caption := 'Running under Delphi' else
lblUnderD.Caption := 'Running as a stand alone program';
end;
procedure TfrmUnderD.btnOkClick(Sender: TObject);
begin
Close;
end;
end.