File: main.lfm

package info (click to toggle)
lazarus 2.2.6%2Bdfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 219,980 kB
  • sloc: pascal: 1,944,919; xml: 357,634; makefile: 270,608; cpp: 57,115; sh: 3,249; java: 609; perl: 297; sql: 222; ansic: 137
file content (188 lines) | stat: -rw-r--r-- 4,313 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
object Form1: TForm1
  Left = 332
  Height = 370
  Top = 127
  Width = 495
  Caption = 'Form1'
  ClientHeight = 370
  ClientWidth = 495
  LCLVersion = '2.3.0.0'
  object Chart1: TChart
    Left = 0
    Height = 335
    Top = 0
    Width = 495
    AxisList = <    
      item
        Grid.Color = clSilver
        Marks.LabelBrush.Style = bsClear
        Minors = <>
        Title.LabelFont.Orientation = 900
        Title.LabelBrush.Style = bsClear
      end    
      item
        Grid.Visible = False
        Intervals.MaxLength = 150
        Intervals.MinLength = 50
        Alignment = calBottom
        Marks.LabelBrush.Style = bsClear
        Minors = <>
        Title.LabelBrush.Style = bsClear
      end>
    BackColor = clWhite
    Foot.Brush.Color = clBtnFace
    Foot.Font.Color = clBlue
    Title.Brush.Color = clBtnFace
    Title.Font.Color = clBlue
    Title.Text.Strings = (
      'TAChart'
    )
    Align = alClient
    object BarSeries: TBarSeries
      AxisIndexX = 1
      AxisIndexY = 0
      BarBrush.Color = clRed
      Depth = 20
      DepthBrightnessDelta = -32
      Source = RandomChartSource1
      Styles = ChartStyles1
    end
  end
  object Panel1: TPanel
    Left = 0
    Height = 35
    Top = 335
    Width = 495
    Align = alBottom
    AutoSize = True
    BevelOuter = bvNone
    ClientHeight = 35
    ClientWidth = 495
    TabOrder = 1
    object lblShape: TLabel
      AnchorSideLeft.Control = cb3D
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = cmbShape
      AnchorSideTop.Side = asrCenter
      Left = 52
      Height = 15
      Top = 10
      Width = 32
      BorderSpacing.Left = 12
      BorderSpacing.Right = 6
      Caption = 'Shape'
    end
    object cmbShape: TComboBox
      AnchorSideLeft.Control = lblShape
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = Panel1
      Left = 90
      Height = 23
      Top = 6
      Width = 164
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Bottom = 6
      ItemHeight = 15
      ItemIndex = 0
      Items.Strings = (
        'rectangular box'
        'cylinder'
        'hexagonal prism'
        'pyramid'
        'conical'
      )
      OnChange = cmbShapeChange
      Style = csDropDownList
      TabOrder = 0
      Text = 'rectangular box'
    end
    object cb3D: TCheckBox
      AnchorSideLeft.Control = Panel1
      AnchorSideTop.Control = cmbShape
      AnchorSideTop.Side = asrCenter
      Left = 6
      Height = 19
      Top = 8
      Width = 34
      BorderSpacing.Left = 6
      Caption = '3D'
      Checked = True
      OnChange = cb3DChange
      State = cbChecked
      TabOrder = 1
    end
    object lblLevels: TLabel
      AnchorSideLeft.Control = cmbShape
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = cmbShape
      AnchorSideTop.Side = asrCenter
      Left = 266
      Height = 15
      Top = 10
      Width = 32
      BorderSpacing.Left = 12
      Caption = 'Levels'
    end
    object seLevels: TSpinEdit
      AnchorSideLeft.Control = lblLevels
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = cmbShape
      AnchorSideTop.Side = asrCenter
      Left = 304
      Height = 23
      Top = 6
      Width = 42
      Alignment = taRightJustify
      BorderSpacing.Left = 6
      MaxValue = 5
      MinValue = 1
      OnChange = seLevelsChange
      TabOrder = 2
      Value = 3
    end
    object cbRotated: TCheckBox
      AnchorSideLeft.Control = seLevels
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = cmbShape
      AnchorSideTop.Side = asrCenter
      Left = 358
      Height = 19
      Top = 8
      Width = 61
      BorderSpacing.Left = 12
      Caption = 'Rotated'
      OnChange = cbRotatedChange
      TabOrder = 3
    end
  end
  object RandomChartSource1: TRandomChartSource
    PointsNumber = 6
    RandSeed = 1050736283
    XMax = 5
    YCount = 3
    YMax = 100
    Left = 136
    Top = 81
  end
  object ChartStyles1: TChartStyles
    Styles = <    
      item
        Brush.Color = clRed
      end    
      item
        Brush.Color = clYellow
      end    
      item
        Brush.Color = clBlue
      end    
      item
        Brush.Color = clTeal
      end    
      item
        Brush.Color = clFuchsia
      end>
    Left = 232
    Top = 79
  end
end