⬆️ Update to Lazarus 2.2 and FreePascal 3.2.2
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
object frmRegionControl: TfrmRegionControl
|
||||
Left = 247
|
||||
Height = 413
|
||||
Height = 516
|
||||
Top = 139
|
||||
Width = 620
|
||||
Width = 775
|
||||
ActiveControl = vstRegions
|
||||
Caption = 'Region Control'
|
||||
ClientHeight = 413
|
||||
ClientWidth = 620
|
||||
Font.Height = -11
|
||||
ClientHeight = 516
|
||||
ClientWidth = 775
|
||||
DesignTimePPI = 120
|
||||
Font.Height = -14
|
||||
OnClose = FormClose
|
||||
OnCreate = FormCreate
|
||||
OnDestroy = FormDestroy
|
||||
OnShow = FormShow
|
||||
Position = poOwnerFormCenter
|
||||
ShowInTaskBar = stAlways
|
||||
LCLVersion = '1.3'
|
||||
LCLVersion = '2.3.0.0'
|
||||
object sbArea: TScrollBox
|
||||
AnchorSideLeft.Control = vstRegions
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
@@ -22,7 +23,7 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideRight.Control = Owner
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Control = btnClose
|
||||
Left = 160
|
||||
Left = 200
|
||||
Height = 372
|
||||
Top = 0
|
||||
Width = 460
|
||||
@@ -34,9 +35,9 @@ object frmRegionControl: TfrmRegionControl
|
||||
TabOrder = 0
|
||||
object pbArea: TPaintBox
|
||||
Left = 0
|
||||
Height = 105
|
||||
Height = 131
|
||||
Top = 0
|
||||
Width = 105
|
||||
Width = 131
|
||||
OnMouseDown = pbAreaMouseDown
|
||||
OnMouseMove = pbAreaMouseMove
|
||||
OnPaint = pbAreaPaint
|
||||
@@ -47,12 +48,12 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 548
|
||||
Height = 25
|
||||
Top = 380
|
||||
Width = 64
|
||||
Left = 532
|
||||
Height = 31
|
||||
Top = 374
|
||||
Width = 80
|
||||
Anchors = [akRight, akBottom]
|
||||
BorderSpacing.Around = 8
|
||||
BorderSpacing.Around = 10
|
||||
Caption = 'Close'
|
||||
OnClick = btnCloseClick
|
||||
TabOrder = 1
|
||||
@@ -61,25 +62,25 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideRight.Control = btnClose
|
||||
AnchorSideBottom.Control = btnClose
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 476
|
||||
Height = 25
|
||||
Top = 380
|
||||
Width = 64
|
||||
Left = 460
|
||||
Height = 31
|
||||
Top = 374
|
||||
Width = 80
|
||||
Anchors = [akRight, akBottom]
|
||||
BorderSpacing.Right = 4
|
||||
BorderSpacing.Right = 5
|
||||
Caption = 'Save'
|
||||
Enabled = False
|
||||
OnClick = btnSaveClick
|
||||
TabOrder = 2
|
||||
end
|
||||
object vstRegions: TVirtualStringTree
|
||||
object vstRegions: TLazVirtualStringTree
|
||||
AnchorSideLeft.Control = Owner
|
||||
AnchorSideTop.Control = Owner
|
||||
AnchorSideBottom.Control = btnAddRegion
|
||||
Left = 0
|
||||
Height = 130
|
||||
Top = 0
|
||||
Width = 160
|
||||
Width = 200
|
||||
Anchors = [akTop, akLeft, akBottom]
|
||||
DefaultText = 'Node'
|
||||
Header.AutoSizeIndex = 0
|
||||
@@ -87,9 +88,10 @@ object frmRegionControl: TfrmRegionControl
|
||||
item
|
||||
Position = 0
|
||||
Text = 'Regions'
|
||||
Width = 156
|
||||
Width = 200
|
||||
end>
|
||||
Header.DefaultHeight = 17
|
||||
Header.DefaultHeight = 21
|
||||
Header.Height = 36
|
||||
Header.Options = [hoAutoResize, hoVisible]
|
||||
Header.ParentFont = True
|
||||
Header.Style = hsFlatButtons
|
||||
@@ -105,13 +107,13 @@ object frmRegionControl: TfrmRegionControl
|
||||
object btnAddRegion: TSpeedButton
|
||||
AnchorSideLeft.Control = vstRegions
|
||||
AnchorSideBottom.Control = spRegionsArea
|
||||
Left = 4
|
||||
Height = 22
|
||||
Left = 5
|
||||
Height = 28
|
||||
Hint = 'Add region'
|
||||
Top = 134
|
||||
Width = 22
|
||||
Top = 128
|
||||
Width = 28
|
||||
Anchors = [akLeft, akBottom]
|
||||
BorderSpacing.Around = 4
|
||||
BorderSpacing.Around = 5
|
||||
Glyph.Data = {
|
||||
36040000424D3604000000000000360000002800000010000000100000000100
|
||||
2000000000000004000064000000640000000000000000000000000000000000
|
||||
@@ -157,13 +159,13 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideBottom.Control = btnAddRegion
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 30
|
||||
Height = 22
|
||||
Left = 38
|
||||
Height = 28
|
||||
Hint = 'Delete region'
|
||||
Top = 134
|
||||
Width = 22
|
||||
Top = 128
|
||||
Width = 28
|
||||
Anchors = [akLeft, akBottom]
|
||||
BorderSpacing.Left = 4
|
||||
BorderSpacing.Left = 5
|
||||
Enabled = False
|
||||
Glyph.Data = {
|
||||
36040000424D3604000000000000360000002800000010000000100000000100
|
||||
@@ -205,25 +207,26 @@ object frmRegionControl: TfrmRegionControl
|
||||
ShowHint = True
|
||||
ParentShowHint = False
|
||||
end
|
||||
object vstArea: TVirtualStringTree
|
||||
object vstArea: TLazVirtualStringTree
|
||||
AnchorSideLeft.Control = spRegionsArea
|
||||
AnchorSideTop.Control = Label1
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = spRegionsArea
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Control = btnDeleteArea
|
||||
Left = 4
|
||||
Left = 5
|
||||
Height = 121
|
||||
Top = 178
|
||||
Top = 222
|
||||
Width = 152
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
BorderSpacing.Left = 4
|
||||
BorderSpacing.Right = 4
|
||||
BorderSpacing.Bottom = 4
|
||||
BorderSpacing.Left = 5
|
||||
BorderSpacing.Right = 5
|
||||
BorderSpacing.Bottom = 5
|
||||
DefaultText = 'Node'
|
||||
Header.AutoSizeIndex = 0
|
||||
Header.Columns = <>
|
||||
Header.DefaultHeight = 17
|
||||
Header.DefaultHeight = 21
|
||||
Header.Height = 29
|
||||
Header.MainColumn = -1
|
||||
Header.Options = [hoColumnResize, hoDrag]
|
||||
TabOrder = 4
|
||||
@@ -238,14 +241,15 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = spRegionsArea
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 4
|
||||
Left = 5
|
||||
Height = 13
|
||||
Top = 165
|
||||
Top = 206
|
||||
Width = 152
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Left = 4
|
||||
BorderSpacing.Right = 4
|
||||
BorderSpacing.Left = 5
|
||||
BorderSpacing.Right = 5
|
||||
Caption = 'Area:'
|
||||
Color = clDefault
|
||||
ParentColor = False
|
||||
end
|
||||
object spRegionsArea: TSplitter
|
||||
@@ -254,8 +258,8 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Cursor = crVSplit
|
||||
Left = 0
|
||||
Height = 5
|
||||
Top = 160
|
||||
Height = 6
|
||||
Top = 200
|
||||
Width = 160
|
||||
Align = alNone
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
@@ -265,11 +269,11 @@ object frmRegionControl: TfrmRegionControl
|
||||
object btnAddArea: TSpeedButton
|
||||
AnchorSideTop.Control = btnDeleteArea
|
||||
AnchorSideRight.Control = btnDeleteArea
|
||||
Left = 43
|
||||
Height = 22
|
||||
Left = 37
|
||||
Height = 28
|
||||
Hint = 'Add area'
|
||||
Top = 303
|
||||
Width = 22
|
||||
Top = 379
|
||||
Width = 28
|
||||
Anchors = [akTop, akRight]
|
||||
Enabled = False
|
||||
Glyph.Data = {
|
||||
@@ -316,14 +320,14 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideLeft.Control = vstArea
|
||||
AnchorSideLeft.Side = asrCenter
|
||||
AnchorSideBottom.Control = seX1
|
||||
Left = 69
|
||||
Height = 22
|
||||
Left = 86
|
||||
Height = 28
|
||||
Hint = 'Delete area'
|
||||
Top = 303
|
||||
Width = 22
|
||||
Top = 297
|
||||
Width = 28
|
||||
Anchors = [akLeft, akBottom]
|
||||
BorderSpacing.Bottom = 4
|
||||
BorderSpacing.Around = 4
|
||||
BorderSpacing.Bottom = 5
|
||||
BorderSpacing.Around = 5
|
||||
Enabled = False
|
||||
Glyph.Data = {
|
||||
36040000424D3604000000000000360000002800000010000000100000000100
|
||||
@@ -369,11 +373,11 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideLeft.Control = btnDeleteArea
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = btnDeleteArea
|
||||
Left = 95
|
||||
Height = 22
|
||||
Left = 119
|
||||
Height = 28
|
||||
Hint = 'Delete all areas'
|
||||
Top = 303
|
||||
Width = 22
|
||||
Top = 379
|
||||
Width = 28
|
||||
Enabled = False
|
||||
Glyph.Data = {
|
||||
36040000424D3604000000000000360000002800000010000000100000000100
|
||||
@@ -419,24 +423,25 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideLeft.Control = Owner
|
||||
AnchorSideTop.Control = seX1
|
||||
AnchorSideTop.Side = asrCenter
|
||||
Left = 4
|
||||
Left = 5
|
||||
Height = 13
|
||||
Top = 337
|
||||
Top = 421
|
||||
Width = 6
|
||||
BorderSpacing.Left = 4
|
||||
BorderSpacing.Left = 5
|
||||
Caption = 'X'
|
||||
Color = clDefault
|
||||
Enabled = False
|
||||
ParentColor = False
|
||||
end
|
||||
object seX1: TSpinEdit
|
||||
AnchorSideLeft.Control = seY1
|
||||
AnchorSideBottom.Control = seY1
|
||||
Left = 17
|
||||
Left = 21
|
||||
Height = 21
|
||||
Top = 333
|
||||
Width = 50
|
||||
Width = 62
|
||||
Anchors = [akLeft, akBottom]
|
||||
BorderSpacing.Bottom = 8
|
||||
BorderSpacing.Bottom = 10
|
||||
Enabled = False
|
||||
OnChange = seX1Change
|
||||
TabOrder = 6
|
||||
@@ -446,11 +451,11 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideLeft.Control = seX1
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = seX1
|
||||
Left = 75
|
||||
Left = 94
|
||||
Height = 21
|
||||
Top = 333
|
||||
Width = 50
|
||||
BorderSpacing.Left = 8
|
||||
Top = 416
|
||||
Width = 62
|
||||
BorderSpacing.Left = 10
|
||||
Enabled = False
|
||||
OnChange = seX1Change
|
||||
TabOrder = 7
|
||||
@@ -460,11 +465,12 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideLeft.Control = lblX
|
||||
AnchorSideTop.Control = seY1
|
||||
AnchorSideTop.Side = asrCenter
|
||||
Left = 4
|
||||
Left = 5
|
||||
Height = 13
|
||||
Top = 366
|
||||
Top = 458
|
||||
Width = 5
|
||||
Caption = 'Y'
|
||||
Color = clDefault
|
||||
Enabled = False
|
||||
ParentColor = False
|
||||
end
|
||||
@@ -474,12 +480,12 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideRight.Control = seX1
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Control = btnGrab1
|
||||
Left = 17
|
||||
Left = 21
|
||||
Height = 21
|
||||
Top = 362
|
||||
Width = 53
|
||||
Anchors = [akLeft, akRight, akBottom]
|
||||
BorderSpacing.Left = 8
|
||||
BorderSpacing.Left = 10
|
||||
Enabled = False
|
||||
OnChange = seX1Change
|
||||
TabOrder = 8
|
||||
@@ -491,12 +497,12 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = seX2
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 75
|
||||
Left = 94
|
||||
Height = 21
|
||||
Top = 362
|
||||
Top = 452
|
||||
Width = 50
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Top = 8
|
||||
BorderSpacing.Top = 10
|
||||
Enabled = False
|
||||
OnChange = seX1Change
|
||||
TabOrder = 9
|
||||
@@ -507,13 +513,13 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideLeft.Side = asrCenter
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 32
|
||||
Height = 22
|
||||
Left = 40
|
||||
Height = 28
|
||||
Hint = 'Grab coordinates from the main window.'
|
||||
Top = 387
|
||||
Width = 22
|
||||
Top = 381
|
||||
Width = 28
|
||||
Anchors = [akLeft, akBottom]
|
||||
BorderSpacing.Around = 4
|
||||
BorderSpacing.Around = 5
|
||||
Enabled = False
|
||||
Glyph.Data = {
|
||||
36040000424D3604000000000000360000002800000010000000100000000100
|
||||
@@ -560,11 +566,11 @@ object frmRegionControl: TfrmRegionControl
|
||||
AnchorSideLeft.Side = asrCenter
|
||||
AnchorSideBottom.Control = btnGrab1
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 89
|
||||
Height = 22
|
||||
Left = 111
|
||||
Height = 28
|
||||
Hint = 'Grab coordinates from the main window.'
|
||||
Top = 387
|
||||
Width = 22
|
||||
Top = 381
|
||||
Width = 28
|
||||
Anchors = [akLeft, akBottom]
|
||||
Enabled = False
|
||||
Glyph.Data = {
|
||||
@@ -608,8 +614,8 @@ object frmRegionControl: TfrmRegionControl
|
||||
ParentShowHint = False
|
||||
end
|
||||
object pmRegions: TPopupMenu
|
||||
left = 48
|
||||
top = 43
|
||||
Left = 60
|
||||
Top = 54
|
||||
object mnuAddRegion: TMenuItem
|
||||
Caption = 'Add'
|
||||
OnClick = mnuAddRegionClick
|
||||
|
||||
Reference in New Issue
Block a user