CDISRC.pas 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {========================================================================}
  2. {= (c) 1995-99 SwiftSoft Ronald Dittrich =}
  3. {========================================================================}
  4. {= All Rights Reserved =}
  5. {========================================================================}
  6. {= D 01099 Dresden = Fax.: +49(0)351-8037944 =}
  7. {= Loewenstr.7a = info@swiftsoft.de =}
  8. {========================================================================}
  9. {= Actual versions on http://www.swiftsoft.de/index.html =}
  10. {========================================================================}
  11. {= This code is for reference purposes only and may not be copied or =}
  12. {= distributed in any format electronic or otherwise except one copy =}
  13. {= for backup purposes. =}
  14. {= =}
  15. {= No Delphi Component Kit or Component individually or in a collection=}
  16. {= subclassed or otherwise from the code in this unit, or associated =}
  17. {= .pas, .dfm, .dcu, .asm or .obj files may be sold or distributed =}
  18. {= without express permission from SwiftSoft. =}
  19. {= =}
  20. {= For more licence informations please refer to the associated =}
  21. {= HelpFile. =}
  22. {========================================================================}
  23. {= $Date: 22.03.99 - 15:52:07 $ =}
  24. {========================================================================}
  25. unit CDISRC;
  26. interface
  27. uses
  28. Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  29. StdCtrls, MMObj, MMGauge;
  30. type
  31. TCDISRCDlg = class(TForm)
  32. Gauge: TMMGauge;
  33. btnCancel: TButton;
  34. Label1: TLabel;
  35. procedure btnCancelClick(Sender: TObject);
  36. procedure FormClose(Sender: TObject; var Action: TCloseAction);
  37. procedure FormCreate(Sender: TObject);
  38. private
  39. public
  40. Cancel: Boolean;
  41. end;
  42. var
  43. CDISRCDlg: TCDISRCDlg;
  44. implementation
  45. {$R *.DFM}
  46. {------------------------------------------------------------------------------}
  47. procedure TCDISRCDlg.FormCreate(Sender: TObject);
  48. begin
  49. Cancel := False;
  50. end;
  51. {------------------------------------------------------------------------------}
  52. procedure TCDISRCDlg.btnCancelClick(Sender: TObject);
  53. begin
  54. Cancel := True;
  55. end;
  56. {------------------------------------------------------------------------------}
  57. procedure TCDISRCDlg.FormClose(Sender: TObject; var Action: TCloseAction);
  58. begin
  59. Cancel := True;
  60. end;
  61. end.