home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2003 July / PCpro_2003_07.ISO / vollvers / edhtml / EdHTMLv5.0.exe / Main / fModalForm.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2003-05-14  |  537 b   |  34 lines

  1. unit fModalForm;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls;
  8.  
  9. type
  10.   TMyModalForm = class(TForm)
  11.     Button2: TButton;
  12.     Button1: TButton;
  13.     Hello: TButton;
  14.     procedure HelloClick(Sender: TObject);
  15.   private
  16.     { Private declarations }
  17.   public
  18.     { Public declarations }
  19.   end;
  20.  
  21. var
  22.   MyModalForm: TMyModalForm;
  23.  
  24. implementation
  25.  
  26. {$R *.DFM}
  27.  
  28. procedure TMyModalForm.HelloClick(Sender: TObject);
  29. begin
  30.   ShowMessage('Click');
  31. end;
  32.  
  33. end.
  34.