home *** CD-ROM | disk | FTP | other *** search
/ Delphi 2.0 - Programmer's Utilities Power Pack / Delphi 2.0 Programmer's Utilities Power Pack.iso / s_to_z / sysfile / sysabout.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1996-09-15  |  1.6 KB  |  70 lines

  1. {=================================================
  2.  Program: SysFile.Exe
  3.  Version: 1.0
  4.  Module: SysAbout.pas
  5.  Author: Wayne Niddery
  6.  CopyRight ⌐ 1995 Wayne Niddery and WinWright
  7.  =================================================}
  8. unit Sysabout;
  9.  
  10. {No code needed to be hand-written for the aboutdlg as it has no
  11.  functionality besides the standard OK button}
  12.  
  13. interface
  14.  
  15. uses
  16.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  17.   Forms, Dialogs, StdCtrls, Buttons, ExtCtrls;
  18.  
  19. type
  20.   TAboutDlg = class(TForm)
  21.     Image1: TImage;
  22.     Bevel1: TBevel;
  23.     BitBtn1: TBitBtn;
  24.     Label1: TLabel;
  25.     Label2: TLabel;
  26.     Panel1: TPanel;
  27.     Image2: TImage;
  28.     Label3: TLabel;
  29.     procedure Panel1Click(Sender: TObject);
  30.     procedure Panel1MouseDown(Sender: TObject; Button: TMouseButton;
  31.       Shift: TShiftState; X, Y: Integer);
  32.     procedure Panel1MouseUp(Sender: TObject; Button: TMouseButton;
  33.       Shift: TShiftState; X, Y: Integer);
  34.   private
  35.     { Private declarations }
  36.   public
  37.     { Public declarations }
  38.   end;
  39.  
  40. var
  41.   AboutDlg: TAboutDlg;
  42.  
  43. implementation
  44.  
  45. {$R *.DFM}
  46.  
  47. uses
  48.   SysGlb;
  49.  
  50. procedure TAboutDlg.Panel1Click(Sender: TObject);
  51. begin
  52.   Application.HelpContext(Registration);
  53. end;
  54.  
  55. procedure TAboutDlg.Panel1MouseDown(Sender: TObject; Button: TMouseButton;
  56.   Shift: TShiftState; X, Y: Integer);
  57. begin
  58.   Panel1.BevelInner := bvLowered;
  59.   Panel1.BevelOuter := bvLowered;
  60. end;
  61.  
  62. procedure TAboutDlg.Panel1MouseUp(Sender: TObject; Button: TMouseButton;
  63.   Shift: TShiftState; X, Y: Integer);
  64. begin
  65.   Panel1.BevelInner := bvRaised;
  66.   Panel1.BevelOuter := bvRaised;
  67. end;
  68.  
  69. end.
  70.