2012-04-19 14:36:23 +00:00
object Form1: TForm1
Left = 623
Height = 300
Top = 319
Width = 500
Caption = 'Form1'
ClientHeight = 300
ClientWidth = 500
Color = clScrollBar
Constraints.MaxHeight = 300
Constraints.MaxWidth = 500
Constraints.MinHeight = 200
Constraints.MinWidth = 300
2012-04-21 22:57:35 +00:00
Font.Height = -12
KeyPreview = True
2012-04-19 14:36:23 +00:00
OnClose = FormClose
OnCloseQuery = FormCloseQuery
OnDestroy = FormDestroy
2012-04-21 22:57:35 +00:00
OnKeyDown = FormKeyDown
2012-04-19 14:36:23 +00:00
LCLVersion = '1.1'
2012-04-19 16:20:37 +00:00
object bClose: TButton
2012-04-21 21:13:38 +00:00
Left = 392
2012-04-21 22:57:35 +00:00
Height = 27
2012-04-20 12:39:44 +00:00
Top = 216
2012-04-21 22:57:35 +00:00
Width = 70
2012-04-19 14:36:23 +00:00
AutoSize = True
2012-04-21 21:13:38 +00:00
Caption = 'Close Form'
2012-04-19 16:20:37 +00:00
OnClick = bCloseClick
2012-04-19 14:36:23 +00:00
TabOrder = 2
end
object Edit1: TEdit
2012-04-19 16:20:37 +00:00
Left = 24
2012-04-21 22:57:35 +00:00
Height = 25
2012-04-21 21:13:38 +00:00
Top = 62
2012-04-19 14:36:23 +00:00
Width = 82
TabOrder = 0
Text = 'Edit1'
end
object Edit2: TEdit
2012-04-19 16:20:37 +00:00
Left = 24
2012-04-21 22:57:35 +00:00
Height = 25
2012-04-21 21:13:38 +00:00
Top = 104
2012-04-19 14:36:23 +00:00
Width = 82
OnExit = Edit2Exit
TabOrder = 1
end
object Label1: TLabel
2012-04-19 16:20:37 +00:00
Left = 144
Height = 1
Top = 63
Width = 1
ParentColor = False
end
object Label2: TLabel
AnchorSideLeft.Control = Owner
AnchorSideLeft.Side = asrCenter
2012-04-21 22:57:35 +00:00
Left = 74
Height = 39
2012-04-19 21:25:07 +00:00
Top = 16
2012-04-21 22:57:35 +00:00
Width = 353
2012-04-19 21:25:07 +00:00
Alignment = taCenter
Caption = 'This Form has Max Constraints.'#13#10'It will be centralized on Tab Sheet if it is smaller than it'
Font.Style = [fsBold]
2012-04-19 14:36:23 +00:00
ParentColor = False
2012-04-19 21:25:07 +00:00
ParentFont = False
2012-04-19 14:36:23 +00:00
end
2012-04-19 16:20:37 +00:00
object Label3: TLabel
2012-04-21 21:13:38 +00:00
AnchorSideTop.Control = bClose
AnchorSideTop.Side = asrCenter
Left = 32
2012-04-21 22:57:35 +00:00
Height = 52
Top = 203
Width = 323
2012-04-20 12:39:44 +00:00
Caption = 'You can Close or Hide your Forms the same way you used to.'#13#10'No Special method is necessary. TDINotebook will detect by '#13#10'internal Notification and Close the Tab Sheet'
2012-04-19 16:20:37 +00:00
ParentColor = False
end
object bHide: TButton
AnchorSideLeft.Control = bClose
AnchorSideLeft.Side = asrCenter
2012-04-21 21:13:38 +00:00
Left = 394
2012-04-21 22:57:35 +00:00
Height = 27
2012-04-21 21:13:38 +00:00
Top = 159
2012-04-21 22:57:35 +00:00
Width = 66
2012-04-19 16:20:37 +00:00
AutoSize = True
Caption = 'Hide Form'
OnClick = bHideClick
TabOrder = 3
end
object lShowmeAgain: TLabel
2012-04-21 21:13:38 +00:00
AnchorSideTop.Control = bHide
AnchorSideTop.Side = asrCenter
2012-04-19 16:20:37 +00:00
Left = 16
2012-04-21 22:57:35 +00:00
Height = 18
2012-04-21 21:13:38 +00:00
Top = 163
2012-04-21 22:57:35 +00:00
Width = 409
2012-04-19 16:20:37 +00:00
Caption = 'But, If you Hide the Form, is better you have a way to Show it again :)'
Font.Color = clRed
ParentColor = False
ParentFont = False
Visible = False
end
object Label4: TLabel
2012-04-19 21:25:07 +00:00
AnchorSideTop.Control = Edit1
AnchorSideTop.Side = asrCenter
Left = 120
2012-04-19 16:20:37 +00:00
Height = 16
2012-04-21 22:57:35 +00:00
Top = 66
2012-04-19 16:20:37 +00:00
Width = 106
Caption = 'This is a regular Edit'
ParentColor = False
end
object Label5: TLabel
2012-04-19 21:25:07 +00:00
AnchorSideTop.Control = Edit2
AnchorSideTop.Side = asrCenter
Left = 120
2012-04-21 22:57:35 +00:00
Height = 52
Top = 90
Width = 344
2012-04-19 21:25:07 +00:00
Caption = 'This Edit has a OnExit Validation, who doesn''t allow Page Change'#13#10' if this Edit is empty, and the focus is on it... '#13#10'This can be disabled changing the property "VerifyIfCanChange"'
2012-04-19 16:20:37 +00:00
ParentColor = False
end
2012-04-21 21:13:38 +00:00
object Label6: TLabel
AnchorSideLeft.Control = bClose
AnchorSideLeft.Side = asrCenter
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = bClose
2012-04-21 22:57:35 +00:00
Left = 371
2012-04-21 21:13:38 +00:00
Height = 16
Top = 194
2012-04-21 22:57:35 +00:00
Width = 113
2012-04-21 21:13:38 +00:00
Anchors = [akLeft, akBottom]
BorderSpacing.Bottom = 6
Caption = 'This Form use caFree'
ParentColor = False
end
object Label7: TLabel
AnchorSideLeft.Control = Owner
AnchorSideLeft.Side = asrCenter
AnchorSideTop.Side = asrCenter
2012-04-21 22:57:35 +00:00
Left = 33
2012-04-21 21:13:38 +00:00
Height = 16
Top = 264
2012-04-21 22:57:35 +00:00
Width = 434
2012-04-21 21:13:38 +00:00
Caption = 'This Form demonstrate that TDINotebook respects your OnCloseQuery Validation'
ParentColor = False
end
2012-04-19 16:20:37 +00:00
object tShowmeAgain: TTimer
Enabled = False
Interval = 3000
OnTimer = tShowmeAgainTimer
left = 450
top = 8
end
2012-04-19 14:36:23 +00:00
end