2008-10-31 21:18:20 +00:00
object Form1: TForm1
Left = 252
Height = 309
Top = 138
Width = 484
HorzScrollBar.Page = 483
VertScrollBar.Page = 308
2023-02-17 16:28:47 +00:00
AutoSize = True
2008-10-31 21:18:20 +00:00
BorderStyle = bsDialog
Caption = 'Date Code Example'
2023-02-17 16:28:47 +00:00
ClientHeight = 309
ClientWidth = 484
2008-10-31 21:18:20 +00:00
Position = poScreenCenter
2023-02-17 16:28:47 +00:00
LCLVersion = '2.3.0.0'
2008-10-31 21:18:20 +00:00
object StatusLbl: TLabel
2023-02-20 11:17:45 +00:00
AnchorSideLeft.Control = Info
2023-02-17 16:28:47 +00:00
AnchorSideTop.Control = CloseBtn
AnchorSideTop.Side = asrCenter
Left = 12
Height = 15
Top = 249
Width = 32
2008-10-31 21:18:20 +00:00
Caption = 'Status'
Color = clNone
ParentColor = False
end
object Label1: TLabel
2023-02-17 16:28:47 +00:00
AnchorSideLeft.Control = CodeBtn
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = CodeBtn
AnchorSideTop.Side = asrCenter
Left = 181
Height = 15
Top = 17
Width = 72
BorderSpacing.Left = 80
2008-10-31 21:18:20 +00:00
Caption = 'Current code:'
Color = clNone
ParentColor = False
end
object CodeLbl: TLabel
2023-02-17 16:28:47 +00:00
AnchorSideLeft.Control = Label1
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = CodeBtn
AnchorSideTop.Side = asrCenter
Left = 265
Height = 15
Top = 17
Width = 96
BorderSpacing.Left = 12
2008-10-31 21:18:20 +00:00
Caption = '0000000000000000'
Color = clNone
ParentColor = False
end
object CodeBtn: TButton
2023-02-17 16:28:47 +00:00
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
Left = 12
2008-10-31 21:18:20 +00:00
Height = 25
2023-02-17 16:28:47 +00:00
Top = 12
2008-10-31 21:18:20 +00:00
Width = 89
2023-02-17 16:28:47 +00:00
BorderSpacing.Around = 12
2008-10-31 21:18:20 +00:00
BorderSpacing.InnerBorder = 4
Caption = 'Enter Code'
OnClick = CodeBtnClick
TabOrder = 0
end
object CloseBtn: TBitBtn
2023-02-17 16:28:47 +00:00
AnchorSideTop.Control = Bevel1
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
2008-10-31 21:18:20 +00:00
Left = 400
Height = 25
2023-02-17 16:28:47 +00:00
Top = 244
2008-10-31 21:18:20 +00:00
Width = 75
2023-02-17 16:28:47 +00:00
Anchors = [akTop]
BorderSpacing.Top = 12
BorderSpacing.Right = 12
BorderSpacing.Bottom = 12
2008-10-31 21:18:20 +00:00
Kind = bkClose
2023-02-17 16:28:47 +00:00
TabOrder = 1
2008-10-31 21:18:20 +00:00
end
object RemoveBtn: TButton
2023-02-17 16:28:47 +00:00
AnchorSideTop.Control = CloseBtn
AnchorSideRight.Control = CloseBtn
Left = 299
2008-10-31 21:18:20 +00:00
Height = 25
2023-02-17 16:28:47 +00:00
Top = 244
2008-10-31 21:18:20 +00:00
Width = 97
2023-02-17 16:28:47 +00:00
Anchors = [akTop, akRight]
BorderSpacing.Right = 4
2008-10-31 21:18:20 +00:00
BorderSpacing.InnerBorder = 4
Caption = 'Remove Code'
OnClick = RemoveBtnClick
2023-02-17 16:28:47 +00:00
TabOrder = 2
end
2023-02-20 11:17:45 +00:00
object Info: TLabel
2023-02-17 16:28:47 +00:00
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = CodeBtn
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 12
Height = 165
Top = 49
Width = 460
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Around = 12
Caption = 'The label at the bottom of this form indicates the status of the code. An invalid code indicates that the code is either the incorrect type or that none has been entered. '#13#10#13#10'If the proper code has not been entered or the ONGUARD.INI file was deleted, the message will say that the code is invalid.'#13#10#13#10'Use the "Enter Code" button to enter a code (the CODEGEN program can be used to generate the proper "Date" code). '#13#10#13#10'The "Remove Code" button can be used to remove the entered code from the INI file. Doing so will cause the TOgDateCode component to report that the code is invalid.'
Color = clBtnFace
ParentColor = False
WordWrap = True
end
object Bevel1: TBevel
2023-02-20 11:17:45 +00:00
AnchorSideLeft.Control = Info
AnchorSideRight.Control = Info
2023-02-17 16:28:47 +00:00
AnchorSideRight.Side = asrBottom
Left = 12
Height = 3
Top = 229
Width = 460
Anchors = [akTop, akLeft, akRight]
Shape = bsTopLine
2008-10-31 21:18:20 +00:00
end
object OgDateCode1: TOgDateCode
OnChecked = CodeChecked
OnGetKey = GetKey
OnGetCode = GetCode
2023-02-17 16:28:47 +00:00
Left = 168
Top = 192
2008-10-31 21:18:20 +00:00
end
end