2020-03-30 18:01:44 +00:00
|
|
|
object BinomialFrm: TBinomialFrm
|
|
|
|
Left = 802
|
|
|
|
Height = 175
|
|
|
|
Top = 338
|
|
|
|
Width = 340
|
2020-05-10 10:37:19 +00:00
|
|
|
HelpType = htKeyword
|
2020-08-17 13:55:43 +00:00
|
|
|
HelpKeyword = 'html/ProbabilityofaBinomialEvent.htm'
|
2020-03-30 18:01:44 +00:00
|
|
|
AutoSize = True
|
|
|
|
BorderStyle = bsSingle
|
|
|
|
Caption = 'Binomial Probability Calculator'
|
|
|
|
ClientHeight = 175
|
|
|
|
ClientWidth = 340
|
|
|
|
OnActivate = FormActivate
|
|
|
|
OnCreate = FormCreate
|
|
|
|
OnShow = FormShow
|
|
|
|
Position = poMainFormCenter
|
|
|
|
LCLVersion = '2.1.0.0'
|
|
|
|
object ResetBtn: TButton
|
|
|
|
AnchorSideTop.Control = Bevel1
|
|
|
|
AnchorSideTop.Side = asrBottom
|
|
|
|
AnchorSideRight.Control = ComputeBtn
|
2020-05-10 10:37:19 +00:00
|
|
|
Left = 127
|
2020-03-30 18:01:44 +00:00
|
|
|
Height = 25
|
|
|
|
Top = 145
|
|
|
|
Width = 54
|
|
|
|
Anchors = [akTop, akRight]
|
|
|
|
AutoSize = True
|
|
|
|
BorderSpacing.Left = 12
|
|
|
|
BorderSpacing.Top = 8
|
|
|
|
BorderSpacing.Right = 8
|
|
|
|
BorderSpacing.Bottom = 8
|
|
|
|
Caption = 'Reset'
|
|
|
|
OnClick = ResetBtnClick
|
|
|
|
TabOrder = 0
|
|
|
|
end
|
|
|
|
object ComputeBtn: TButton
|
|
|
|
AnchorSideTop.Control = Bevel1
|
|
|
|
AnchorSideTop.Side = asrBottom
|
2020-05-10 10:37:19 +00:00
|
|
|
AnchorSideRight.Control = CloseBtn
|
|
|
|
Left = 189
|
2020-03-30 18:01:44 +00:00
|
|
|
Height = 25
|
|
|
|
Top = 145
|
|
|
|
Width = 76
|
|
|
|
Anchors = [akTop, akRight]
|
|
|
|
AutoSize = True
|
|
|
|
BorderSpacing.Left = 8
|
|
|
|
BorderSpacing.Top = 8
|
|
|
|
BorderSpacing.Right = 8
|
|
|
|
BorderSpacing.Bottom = 8
|
|
|
|
Caption = 'Compute'
|
|
|
|
OnClick = ComputeBtnClick
|
|
|
|
TabOrder = 1
|
|
|
|
end
|
2020-05-10 10:37:19 +00:00
|
|
|
object CloseBtn: TButton
|
2020-03-30 18:01:44 +00:00
|
|
|
AnchorSideTop.Control = Bevel1
|
|
|
|
AnchorSideTop.Side = asrBottom
|
|
|
|
AnchorSideRight.Control = Owner
|
|
|
|
AnchorSideRight.Side = asrBottom
|
2020-05-10 10:37:19 +00:00
|
|
|
Left = 273
|
2020-03-30 18:01:44 +00:00
|
|
|
Height = 25
|
|
|
|
Top = 145
|
2020-05-10 10:37:19 +00:00
|
|
|
Width = 55
|
2020-03-30 18:01:44 +00:00
|
|
|
Anchors = [akTop, akRight]
|
|
|
|
AutoSize = True
|
|
|
|
BorderSpacing.Left = 8
|
|
|
|
BorderSpacing.Top = 8
|
|
|
|
BorderSpacing.Right = 12
|
|
|
|
BorderSpacing.Bottom = 8
|
2020-05-10 10:37:19 +00:00
|
|
|
Caption = 'Close'
|
|
|
|
ModalResult = 11
|
2020-03-30 18:01:44 +00:00
|
|
|
TabOrder = 2
|
|
|
|
end
|
|
|
|
object Bevel1: TBevel
|
|
|
|
AnchorSideLeft.Control = Owner
|
|
|
|
AnchorSideTop.Control = Panel1
|
|
|
|
AnchorSideTop.Side = asrBottom
|
|
|
|
AnchorSideRight.Control = Owner
|
|
|
|
AnchorSideRight.Side = asrBottom
|
|
|
|
Left = 0
|
|
|
|
Height = 9
|
|
|
|
Top = 128
|
|
|
|
Width = 340
|
|
|
|
Anchors = [akTop, akLeft, akRight]
|
|
|
|
Shape = bsBottomLine
|
|
|
|
end
|
|
|
|
object Panel1: TPanel
|
|
|
|
AnchorSideLeft.Control = Owner
|
|
|
|
AnchorSideTop.Control = Owner
|
|
|
|
Left = 12
|
|
|
|
Height = 120
|
|
|
|
Top = 8
|
|
|
|
Width = 292
|
|
|
|
Alignment = taRightJustify
|
|
|
|
AutoSize = True
|
|
|
|
BorderSpacing.Left = 12
|
|
|
|
BorderSpacing.Top = 8
|
|
|
|
BorderSpacing.Right = 12
|
|
|
|
BevelOuter = bvNone
|
|
|
|
ClientHeight = 120
|
|
|
|
ClientWidth = 292
|
|
|
|
TabOrder = 3
|
|
|
|
object Label1: TLabel
|
|
|
|
AnchorSideTop.Control = FreqAEdit
|
|
|
|
AnchorSideTop.Side = asrCenter
|
|
|
|
AnchorSideRight.Control = FreqAEdit
|
|
|
|
Left = 2
|
|
|
|
Height = 15
|
|
|
|
Top = 12
|
|
|
|
Width = 239
|
|
|
|
Anchors = [akTop, akRight]
|
|
|
|
BorderSpacing.Right = 8
|
|
|
|
Caption = 'Frequency of events observed in category ''A'':'
|
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object Label2: TLabel
|
|
|
|
AnchorSideTop.Control = FreqBEdit
|
|
|
|
AnchorSideTop.Side = asrCenter
|
|
|
|
AnchorSideRight.Control = FreqBEdit
|
|
|
|
Left = 3
|
|
|
|
Height = 15
|
|
|
|
Top = 39
|
|
|
|
Width = 238
|
|
|
|
Anchors = [akTop, akRight]
|
|
|
|
BorderSpacing.Right = 8
|
|
|
|
Caption = 'Frequency of events observed in category ''B'':'
|
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object Label3: TLabel
|
|
|
|
AnchorSideLeft.Control = Panel1
|
|
|
|
AnchorSideTop.Control = PropAEdit
|
|
|
|
AnchorSideTop.Side = asrCenter
|
|
|
|
Left = 0
|
|
|
|
Height = 15
|
|
|
|
Top = 66
|
|
|
|
Width = 241
|
|
|
|
Caption = 'Proportion of events expected in category ''A'':'
|
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object FreqAEdit: TEdit
|
|
|
|
AnchorSideLeft.Control = PropAEdit
|
|
|
|
AnchorSideTop.Control = Panel1
|
|
|
|
Left = 249
|
|
|
|
Height = 23
|
|
|
|
Top = 8
|
|
|
|
Width = 43
|
|
|
|
Alignment = taRightJustify
|
|
|
|
BorderSpacing.Top = 8
|
|
|
|
TabOrder = 0
|
|
|
|
Text = 'FreqAEdit'
|
|
|
|
end
|
|
|
|
object FreqBEdit: TEdit
|
|
|
|
AnchorSideLeft.Control = PropAEdit
|
|
|
|
AnchorSideTop.Control = FreqAEdit
|
|
|
|
AnchorSideTop.Side = asrBottom
|
|
|
|
Left = 249
|
|
|
|
Height = 23
|
|
|
|
Top = 35
|
|
|
|
Width = 43
|
|
|
|
Alignment = taRightJustify
|
|
|
|
BorderSpacing.Top = 4
|
|
|
|
TabOrder = 1
|
|
|
|
Text = 'FreqBEdit'
|
|
|
|
end
|
|
|
|
object PropAEdit: TEdit
|
|
|
|
AnchorSideLeft.Control = Label3
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
AnchorSideTop.Control = FreqBEdit
|
|
|
|
AnchorSideTop.Side = asrBottom
|
|
|
|
Left = 249
|
|
|
|
Height = 23
|
|
|
|
Top = 62
|
|
|
|
Width = 43
|
|
|
|
Alignment = taRightJustify
|
|
|
|
BorderSpacing.Left = 8
|
|
|
|
BorderSpacing.Top = 4
|
|
|
|
TabOrder = 2
|
|
|
|
Text = 'ProbAEdit'
|
|
|
|
end
|
|
|
|
object PlotChk: TCheckBox
|
|
|
|
AnchorSideLeft.Control = Panel1
|
|
|
|
AnchorSideTop.Control = PropAEdit
|
|
|
|
AnchorSideTop.Side = asrBottom
|
|
|
|
AnchorSideRight.Control = Panel1
|
|
|
|
AnchorSideRight.Side = asrBottom
|
|
|
|
Left = 167
|
|
|
|
Height = 19
|
|
|
|
Top = 101
|
|
|
|
Width = 125
|
|
|
|
Alignment = taLeftJustify
|
|
|
|
Anchors = [akTop, akRight]
|
|
|
|
BorderSpacing.Top = 16
|
|
|
|
Caption = 'Plot the distribution'
|
|
|
|
TabOrder = 3
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|