You've already forked lazarus-ccr
OnGuard: Rework sample projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8721 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -13,7 +13,7 @@ interface
|
||||
|
||||
uses
|
||||
SysUtils, Classes, Controls,
|
||||
Forms, Dialogs, LResources, StdCtrls, Buttons,
|
||||
Forms, Dialogs, LResources, StdCtrls, Buttons, ExtCtrls,
|
||||
OnGuard, OgUtil, IniFiles;
|
||||
|
||||
const
|
||||
@ -25,10 +25,11 @@ type
|
||||
{ TForm1 }
|
||||
|
||||
TForm1 = class(TForm)
|
||||
Bevel1: TBevel;
|
||||
CloseBtn: TBitBtn;
|
||||
Memo1: TLabel;
|
||||
Info: TLabel;
|
||||
OgDaysCode1: TOgDaysCode;
|
||||
Label1: TLabel;
|
||||
lblDaysRemaining: TLabel;
|
||||
procedure FormCreate(Sender: TObject);
|
||||
procedure OgDaysCode1GetKey(Sender: TObject; var Key: TKey);
|
||||
procedure OgDaysCode1GetCode(Sender: TObject; var Code: TCode);
|
||||
@ -124,7 +125,7 @@ var
|
||||
begin
|
||||
case Status of
|
||||
ogValidCode : begin
|
||||
Label1.Caption := 'Days Remaining: '
|
||||
lblDaysRemaining.Caption := 'Days Remaining: '
|
||||
+ IntToStr(OgDaysCode1.GetValue);
|
||||
Exit;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user