home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / desktop / hotkey / hotkey95.exe / Source / hkError.pas < prev    next >
Pascal/Delphi Source File  |  1998-01-30  |  869b  |  42 lines

  1. unit hkError;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls;
  8.  
  9. type
  10.   TfrmHotkeyError = class(TForm)
  11.     lblHotkeyUsed: TLabel;
  12.     btnCancel: TButton;
  13.     btnOk: TButton;
  14.     lblEntry: TLabel;
  15.     lblDescription: TLabel;
  16.   private
  17.     procedure SetConflictingEntry(Value: String);
  18.     procedure SetDescription(Value: String);
  19.   public
  20.     property ConflictingEntry: String write SetConflictingEntry;
  21.     property Description: String write SetDescription;
  22.     { Public declarations }
  23.   end;
  24.  
  25. var
  26.   frmHotkeyError: TfrmHotkeyError;
  27.  
  28. implementation
  29.  
  30. {$R *.DFM}
  31. procedure TfrmHotkeyError.SetConflictingEntry(Value: String);
  32. begin
  33.   lblEntry.Caption := Value;
  34. end;
  35.  
  36. procedure TfrmHotkeyError.SetDescription(Value: String);
  37. begin
  38.   lblDescription.Caption := Value;
  39. end;
  40.  
  41. end.
  42.