File: unit4b.lfm

package info (click to toggle)
dozzaqueux 3.35-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,620 kB
  • ctags: 1,791
  • sloc: pascal: 34,605; xml: 961; makefile: 50; sh: 32
file content (423 lines) | stat: -rwxr-xr-x 12,294 bytes parent folder | download | duplicates (5)
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
object Form4b: TForm4b
  Left = 702
  Height = 541
  Top = 227
  Width = 771
  ActiveControl = Editformulebrute
  BorderIcons = [biSystemMenu, biMinimize]
  BorderStyle = bsSingle
  Caption = 'Recherche dans la base'
  ClientHeight = 541
  ClientWidth = 771
  OnCreate = FormCreate
  OnShow = FormShow
  LCLVersion = '1.2.2.0'
  object SpeedButtonC: TSpeedButton
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Label2
    AnchorSideTop.Side = asrBottom
    Left = 10
    Height = 25
    Top = 100
    Width = 25
    BorderSpacing.Left = 10
    BorderSpacing.Top = 10
    Caption = 'C'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButtonCClick
    ParentFont = False
  end
  object SpeedButtonO: TSpeedButton
    AnchorSideLeft.Control = SpeedButtonC
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 45
    Height = 25
    Top = 100
    Width = 25
    BorderSpacing.Left = 10
    Caption = 'O'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButtonOClick
    ParentFont = False
  end
  object SpeedButtonH: TSpeedButton
    AnchorSideLeft.Control = SpeedButtonO
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 80
    Height = 25
    Top = 100
    Width = 25
    BorderSpacing.Left = 10
    Caption = 'H'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButtonHClick
    ParentFont = False
  end
  object SpeedButtonN: TSpeedButton
    AnchorSideLeft.Control = SpeedButtonH
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 115
    Height = 25
    Top = 100
    Width = 25
    BorderSpacing.Left = 10
    Caption = 'N'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButtonNClick
    ParentFont = False
  end
  object SpeedButtonP: TSpeedButton
    AnchorSideLeft.Control = SpeedButtonN
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 150
    Height = 25
    Top = 100
    Width = 25
    BorderSpacing.Left = 10
    Caption = 'P'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButtonPClick
    ParentFont = False
  end
  object SpeedButtonS: TSpeedButton
    AnchorSideLeft.Control = SpeedButtonP
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 185
    Height = 25
    Top = 100
    Width = 25
    BorderSpacing.Left = 10
    Caption = 'S'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButtonSClick
    ParentFont = False
  end
  object SpeedButton1plus: TSpeedButton
    AnchorSideLeft.Control = SpeedButton3
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 290
    Height = 25
    Top = 100
    Width = 33
    BorderSpacing.Left = 10
    Caption = '[+]'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButton1plusClick
    ParentFont = False
  end
  object SpeedButton2plus: TSpeedButton
    AnchorSideLeft.Control = SpeedButton1plus
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 333
    Height = 25
    Top = 100
    Width = 33
    BorderSpacing.Left = 10
    Caption = '[2+]'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButton2plusClick
    ParentFont = False
  end
  object SpeedButton3plus: TSpeedButton
    AnchorSideLeft.Control = SpeedButton2plus
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 376
    Height = 25
    Top = 100
    Width = 33
    BorderSpacing.Left = 10
    Caption = '[3+]'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButton3plusClick
    ParentFont = False
  end
  object SpeedButton3moins: TSpeedButton
    AnchorSideLeft.Control = SpeedButton3plus
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 419
    Height = 25
    Top = 100
    Width = 33
    BorderSpacing.Left = 10
    Caption = '[3-]'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButton3moinsClick
    ParentFont = False
  end
  object SpeedButton2moins: TSpeedButton
    AnchorSideLeft.Control = SpeedButton3moins
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 462
    Height = 25
    Top = 100
    Width = 33
    BorderSpacing.Left = 10
    Caption = '[2-]'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButton2moinsClick
    ParentFont = False
  end
  object SpeedButton1moins: TSpeedButton
    AnchorSideLeft.Control = SpeedButton2moins
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 505
    Height = 25
    Top = 100
    Width = 33
    BorderSpacing.Left = 10
    Caption = '[-]'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButton1moinsClick
    ParentFont = False
  end
  object SpeedButton2: TSpeedButton
    AnchorSideLeft.Control = SpeedButtonS
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 220
    Height = 25
    Top = 100
    Width = 25
    BorderSpacing.Left = 10
    Caption = '2'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButton2Click
    ParentFont = False
  end
  object SpeedButton3: TSpeedButton
    AnchorSideLeft.Control = SpeedButton2
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrCenter
    Left = 255
    Height = 25
    Top = 100
    Width = 25
    BorderSpacing.Left = 10
    Caption = '3'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    OnClick = SpeedButton3Click
    ParentFont = False
  end
  object Label1: TLabel
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Owner
    Left = 10
    Height = 20
    Top = 10
    Width = 675
    BorderSpacing.Left = 10
    BorderSpacing.Top = 10
    Caption = 'Entrez la formule brute. Puis cliquez sur "OK". Puis sélectionnez le réactif dans la liste ci-dessous.'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    ParentColor = False
    ParentFont = False
  end
  object Label2: TLabel
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Label3
    AnchorSideTop.Side = asrBottom
    Left = 10
    Height = 20
    Top = 70
    Width = 598
    BorderSpacing.Left = 10
    BorderSpacing.Top = 10
    Caption = ' mais pas: AGSO4 (respect majuscules/minuscules) ni Cu(NH3)4 (pas de parenthéses)'
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    ParentColor = False
    ParentFont = False
  end
  object Label3: TLabel
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Label1
    AnchorSideTop.Side = asrBottom
    Left = 10
    Height = 20
    Top = 40
    Width = 413
    BorderSpacing.Left = 10
    BorderSpacing.Top = 10
    Caption = ' Exemples: BaSO4        Ag[+]        CrO4[2-]    FeO3H3[3+]    '
    Font.Color = clBlack
    Font.Pitch = fpVariable
    Font.Style = [fsBold]
    ParentColor = False
    ParentFont = False
  end
  object Editformulebrute: TEdit
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = SpeedButtonC
    AnchorSideTop.Side = asrBottom
    Left = 10
    Height = 28
    Top = 135
    Width = 617
    BorderSpacing.Left = 10
    BorderSpacing.Top = 10
    OnChange = EditformulebruteChange
    OnKeyUp = EditformulebruteKeyUp
    OnMouseUp = EditformulebruteMouseUp
    TabOrder = 0
  end
  object BitBtn1: TBitBtn
    AnchorSideLeft.Control = sgreactifs
    AnchorSideLeft.Side = asrBottom
    AnchorSideTop.Control = RadioGroup1
    AnchorSideTop.Side = asrBottom
    AnchorSideBottom.Control = BitBtn2
    Left = 461
    Height = 149
    Top = 320
    Width = 251
    Anchors = [akTop, akLeft, akBottom]
    BorderSpacing.Left = 10
    BorderSpacing.Top = 10
    BorderSpacing.Bottom = 10
    Caption = 'OK'
    Default = True
    Glyph.Data = {
      DE010000424DDE01000000000000760000002800000024000000120000000100
      04000000000068010000120B0000120B00001000000010000000000000000000
      80000080000000808000800000008000800080800000C0C0C000808080000000
      FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
      3333333333333333333333330000333333333333333333333333F33333333333
      00003333344333333333333333388F3333333333000033334224333333333333
      338338F3333333330000333422224333333333333833338F3333333300003342
      222224333333333383333338F3333333000034222A22224333333338F338F333
      8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
      33333338F83338F338F33333000033A33333A222433333338333338F338F3333
      0000333333333A222433333333333338F338F33300003333333333A222433333
      333333338F338F33000033333333333A222433333333333338F338F300003333
      33333333A222433333333333338F338F00003333333333333A22433333333333
      3338F38F000033333333333333A223333333333333338F830000333333333333
      333A333333333333333338330000333333333333333333333333333333333333
      0000
    }
    NumGlyphs = 2
    OnClick = BitBtn1Click
    TabOrder = 1
  end
  object sgreactifs: TStringGrid
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = RadioGroup1
    AnchorSideTop.Side = asrBottom
    AnchorSideBottom.Control = Owner
    AnchorSideBottom.Side = asrBottom
    Left = 10
    Height = 211
    Hint = 'Pour sélectionner un réactif, cliquez sur la ligne correspondante.'
    Top = 320
    Width = 441
    Anchors = [akTop, akLeft, akBottom]
    BorderSpacing.Left = 10
    BorderSpacing.Top = 10
    BorderSpacing.Bottom = 10
    ParentShowHint = False
    ShowHint = True
    TabOrder = 3
    OnMouseUp = sgreactifsMouseUp
  end
  object RadioGroup1: TRadioGroup
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Editformulebrute
    AnchorSideTop.Side = asrBottom
    Left = 10
    Height = 137
    Top = 173
    Width = 617
    AutoFill = True
    BorderSpacing.Left = 10
    BorderSpacing.Top = 10
    Caption = 'Type de comparaison'
    ChildSizing.LeftRightSpacing = 6
    ChildSizing.TopBottomSpacing = 6
    ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
    ChildSizing.EnlargeVertical = crsHomogenousChildResize
    ChildSizing.ShrinkHorizontal = crsScaleChilds
    ChildSizing.ShrinkVertical = crsScaleChilds
    ChildSizing.Layout = cclLeftToRightThenTopToBottom
    ChildSizing.ControlsPerLine = 1
    ClientHeight = 115
    ClientWidth = 613
    ItemIndex = 0
    Items.Strings = (
      'Exacte'
      'Mêmes atomes, en nombres inférieurs ou égaux'
      'Mêmes atomes, en nombre supérieurs ou égaux'
      'Mêmes atomes, en nombre quelconques'
    )
    TabOrder = 2
  end
  object BitBtn2: TBitBtn
    AnchorSideLeft.Control = sgreactifs
    AnchorSideLeft.Side = asrBottom
    AnchorSideBottom.Control = Owner
    AnchorSideBottom.Side = asrBottom
    Left = 461
    Height = 52
    Top = 479
    Width = 249
    Anchors = [akLeft, akBottom]
    BorderSpacing.Left = 10
    BorderSpacing.Bottom = 10
    Caption = '&Fermer'
    Kind = bkClose
    TabOrder = 4
  end
end