File: unit1.lfm

package info (click to toggle)
lazarus 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 275,760 kB
  • sloc: pascal: 2,341,904; xml: 509,420; makefile: 348,726; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (266 lines) | stat: -rw-r--r-- 5,419 bytes parent folder | download
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
object Form1: TForm1
  Left = 781
  Height = 481
  Top = 193
  Width = 585
  BorderStyle = bsDialog
  Caption = 'Test for various message-boxes'
  ClientHeight = 481
  ClientWidth = 585
  Position = poScreenCenter
  LCLVersion = '2.1.0.0'
  object EditCaption: TEdit
    Left = 104
    Height = 33
    Top = 8
    Width = 472
    TabOrder = 0
    Text = 'StrCaption'
  end
  object EditMessage: TEdit
    Left = 104
    Height = 33
    Top = 40
    Width = 472
    TabOrder = 1
    Text = 'StrMessage'
  end
  object Label1: TLabel
    AnchorSideTop.Control = EditCaption
    AnchorSideTop.Side = asrCenter
    Left = 8
    Height = 17
    Top = 16
    Width = 57
    Caption = 'Caption:'
    ParentColor = False
  end
  object Label2: TLabel
    AnchorSideTop.Control = EditMessage
    AnchorSideTop.Side = asrCenter
    Left = 8
    Height = 17
    Top = 48
    Width = 63
    Caption = 'Message:'
    ParentColor = False
  end
  object ButtonClose: TButton
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Control = Owner
    AnchorSideBottom.Side = asrBottom
    Left = 479
    Height = 33
    Top = 442
    Width = 100
    Anchors = [akRight, akBottom]
    AutoSize = True
    BorderSpacing.Around = 6
    Caption = 'Close'
    Constraints.MinWidth = 100
    OnClick = ButtonCloseClick
    TabOrder = 9
  end
  object ButtonAppMsgbox: TButton
    Left = 152
    Height = 25
    Top = 256
    Width = 264
    Caption = 'Application.MessageBox'
    OnClick = ButtonAppMsgboxClick
    TabOrder = 5
  end
  object GroupBox1: TGroupBox
    Left = 8
    Height = 170
    Top = 72
    Width = 217
    Caption = 'Button flags'
    ClientHeight = 152
    ClientWidth = 215
    TabOrder = 2
    object CheckFlag_Ok: TRadioButton
      Left = 8
      Height = 23
      Top = 0
      Width = 75
      Caption = 'MB_OK'
      TabOrder = 3
    end
    object CheckFlag_OkCancel: TRadioButton
      Left = 8
      Height = 23
      Top = 24
      Width = 130
      Caption = 'MB_OKCANCEL'
      Checked = True
      TabOrder = 5
      TabStop = True
    end
    object CheckFlag_YesNo: TRadioButton
      Left = 8
      Height = 23
      Top = 48
      Width = 102
      Caption = 'MB_YESNO'
      TabOrder = 0
    end
    object CheckFlag_YesNoCancel: TRadioButton
      Left = 8
      Height = 23
      Top = 72
      Width = 157
      Caption = 'MB_YESNOCANCEL'
      TabOrder = 1
    end
    object CheckFlag_RetryCancel: TRadioButton
      Left = 8
      Height = 23
      Top = 96
      Width = 152
      Caption = 'MB_RETRYCANCEL'
      TabOrder = 2
    end
    object CheckFlag_AbortRetryIgnore: TRadioButton
      Left = 8
      Height = 23
      Top = 120
      Width = 198
      Caption = 'MB_ABORTRETRYIGNORE'
      TabOrder = 4
    end
  end
  object ButtonLCLIntfMsgbox: TButton
    Left = 152
    Height = 25
    Top = 288
    Width = 264
    Caption = 'LCLIntf.MessageBox'
    OnClick = ButtonLCLIntfMsgboxClick
    TabOrder = 6
  end
  object GroupBox2: TGroupBox
    Left = 232
    Height = 169
    Top = 72
    Width = 225
    Caption = 'Icon flags'
    ClientHeight = 151
    ClientWidth = 223
    TabOrder = 3
    object CheckFlag_Info: TRadioButton
      Left = 8
      Height = 23
      Top = 0
      Width = 189
      Caption = 'MB_ICONINFORMATION'
      Checked = True
      TabOrder = 0
      TabStop = True
    end
    object CheckFlag_Warn: TRadioButton
      Left = 8
      Height = 23
      Top = 24
      Width = 158
      Caption = 'MB_ICONWARNING'
      TabOrder = 2
    end
    object CheckFlag_Error: TRadioButton
      Left = 8
      Height = 23
      Top = 48
      Width = 136
      Caption = 'MB_ICONERROR'
      TabOrder = 3
    end
    object CheckFlag_Ask: TRadioButton
      Left = 8
      Height = 23
      Top = 72
      Width = 161
      Caption = 'MB_ICONQUESTION'
      TabOrder = 4
    end
    object CheckFlag_NoneIcon: TRadioButton
      Left = 8
      Height = 23
      Top = 96
      Width = 59
      Caption = 'none'
      TabOrder = 1
    end
  end
  object ButtonMsgDlg: TButton
    Left = 152
    Height = 25
    Top = 320
    Width = 264
    Caption = 'MessageDlg'
    OnClick = ButtonMsgDlgClick
    TabOrder = 7
  end
  object GroupBox3: TGroupBox
    Left = 463
    Height = 168
    Top = 72
    Width = 113
    Caption = 'Def button'
    ClientHeight = 150
    ClientWidth = 111
    TabOrder = 4
    object CheckFlag_B1: TRadioButton
      Left = 16
      Height = 23
      Top = 0
      Width = 34
      Caption = '1'
      Checked = True
      TabOrder = 0
      TabStop = True
    end
    object CheckFlag_B2: TRadioButton
      Left = 16
      Height = 23
      Top = 24
      Width = 34
      Caption = '2'
      TabOrder = 1
    end
    object CheckFlag_B3: TRadioButton
      Left = 16
      Height = 23
      Top = 48
      Width = 34
      Caption = '3'
      TabOrder = 2
    end
    object CheckFlag_B4: TRadioButton
      Left = 16
      Height = 23
      Top = 72
      Width = 34
      Caption = '4'
      TabOrder = 3
    end
  end
  object ButtonPromptUser: TButton
    Left = 152
    Height = 25
    Top = 352
    Width = 264
    Caption = 'PromptUser'
    OnClick = ButtonPromptUserClick
    TabOrder = 8
  end
  object ButtonAskUser: TButton
    Left = 152
    Height = 25
    Top = 384
    Width = 264
    Caption = 'AskUser (ignore flags)'
    OnClick = ButtonAskUserClick
    TabOrder = 10
  end
end