home *** CD-ROM | disk | FTP | other *** search
/ Delphi 2.0 - Programmer's Utilities Power Pack / Delphi 2.0 Programmer's Utilities Power Pack.iso / e_to_l / grfrm11 / show2.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1996-09-15  |  617 b   |  36 lines

  1. unit Show2;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  7.   Forms, Dialogs, StdCtrls, Buttons, GrayForm;
  8.  
  9. type
  10.   TForm2 = class(TForm)
  11.     Label1: TLabel;
  12.     BitBtn1: TBitBtn;
  13.     BitBtn3: TBitBtn;
  14.     procedure BitBtn3Click(Sender: TObject);
  15.   private
  16.     { Private-Deklarationen }
  17.   public
  18.     { Public-Deklarationen }
  19.   end;
  20.  
  21. var
  22.   Form2: TForm2;
  23.  
  24. implementation
  25.  
  26. {$R *.DFM}
  27.  
  28. procedure TForm2.BitBtn3Click(Sender: TObject);
  29. begin
  30.     GrayedForm(SELF);
  31.     messagedlg('why not ?',mtconfirmation,[mbok],0);
  32.   UnGrayedForm(SELF);
  33. end;
  34.     
  35. end.
  36.