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 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729
|
object FormMessagesComposer: TFormMessagesComposer
AnchorSideLeft.Side = asrBottom
Left = 658
Height = 591
Top = 123
Width = 584
ActiveControl = KindMessageComboBox
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'Messages Composer'
ClientHeight = 591
ClientWidth = 584
OnCreate = MessagesInitExecute
Position = poScreenCenter
LCLVersion = '1.5'
object CaptionLabel: TLabel
Left = 6
Height = 15
Top = 70
Width = 70
Caption = 'CaptionLabel'
ParentColor = False
end
object MsgLabel: TLabel
AnchorSideTop.Control = CaptionEdit
AnchorSideTop.Side = asrBottom
Left = 6
Height = 15
Top = 123
Width = 51
BorderSpacing.Top = 12
Caption = 'MsgLabel'
ParentColor = False
end
object DlgTypeLabel: TLabel
Left = 154
Height = 15
Top = 70
Width = 44
Caption = 'DlgType'
ParentColor = False
end
object HelpContextLabel: TLabel
AnchorSideTop.Control = HelpCtxBevel
AnchorSideTop.Side = asrBottom
Left = 8
Height = 15
Top = 294
Width = 69
Caption = 'Help Context'
ParentColor = False
end
object HelpKeyWordLabel: TLabel
AnchorSideTop.Control = HelpContextLabel
AnchorSideTop.Side = asrCenter
Left = 103
Height = 15
Top = 294
Width = 76
Caption = 'Help KeyWord'
ParentColor = False
end
object XLabel: TLabel
AnchorSideTop.Control = XSpinEdit
AnchorSideTop.Side = asrCenter
Left = 6
Height = 15
Top = 260
Width = 7
Caption = 'X'
ParentColor = False
end
object YLabel: TLabel
AnchorSideLeft.Control = XSpinEdit
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = YSpinEdit
AnchorSideTop.Side = asrCenter
Left = 91
Height = 15
Top = 260
Width = 7
BorderSpacing.Left = 8
Caption = 'Y'
ParentColor = False
end
object HelpFileNameLabel: TLabel
AnchorSideTop.Control = HelpContextSpinEdit
AnchorSideTop.Side = asrBottom
Left = 8
Height = 15
Top = 341
Width = 78
BorderSpacing.Top = 6
Caption = 'Help FileName'
ParentColor = False
end
object PromptLabel: TLabel
Left = 16
Height = 15
Top = 425
Width = 68
Caption = 'PromptLabel'
ParentColor = False
end
object ValueLabel: TLabel
Left = 16
Height = 15
Top = 478
Width = 56
Caption = 'Value (var)'
ParentColor = False
end
object DefaultValue: TLabel
Left = 138
Height = 15
Top = 478
Width = 38
Caption = 'Default'
ParentColor = False
end
object PositionBevel: TBevel
AnchorSideTop.Control = MsgMemo
AnchorSideTop.Side = asrBottom
Left = 5
Height = 9
Top = 241
Width = 269
BorderSpacing.Top = 6
Shape = bsTopLine
end
object Bevel2: TBevel
Left = 8
Height = 9
Top = 417
Width = 266
Shape = bsTopLine
end
object HelpCtxBevel: TBevel
AnchorSideTop.Control = XSpinEdit
AnchorSideTop.Side = asrBottom
Left = 8
Height = 9
Top = 285
Width = 266
Shape = bsTopLine
end
object KindMessageLabel: TLabel
Left = 6
Height = 15
Top = 6
Width = 572
Align = alTop
BorderSpacing.Left = 6
BorderSpacing.Top = 6
BorderSpacing.Right = 6
Caption = 'KindMessageLabel'
ParentColor = False
end
object CaptionEdit: TEdit
AnchorSideTop.Control = CaptionLabel
AnchorSideTop.Side = asrBottom
Left = 6
Height = 23
Top = 88
Width = 136
BorderSpacing.Top = 3
TabOrder = 0
Text = 'CaptionEdit'
end
object DlgTypeComboBox: TComboBox
AnchorSideTop.Control = DlgTypeLabel
AnchorSideTop.Side = asrBottom
Left = 154
Height = 23
Top = 88
Width = 120
BorderSpacing.Top = 3
ItemHeight = 15
ItemIndex = 0
Items.Strings = (
'mtWarning'
'mtError'
'mtInformation'
'mtConfirmation'
'mtCustom'
)
Style = csDropDownList
TabOrder = 1
Text = 'mtWarning'
end
object HelpContextSpinEdit: TSpinEdit
AnchorSideTop.Control = HelpContextLabel
AnchorSideTop.Side = asrBottom
Left = 8
Height = 23
Top = 312
Width = 61
BorderSpacing.Top = 3
MaxValue = 9999
TabOrder = 2
end
object HelpKeyWordEdit: TEdit
AnchorSideTop.Control = HelpKeyWordLabel
AnchorSideTop.Side = asrBottom
Left = 103
Height = 23
Top = 312
Width = 171
BorderSpacing.Top = 3
TabOrder = 3
Text = 'HelpKeyWordEdit'
end
object XSpinEdit: TSpinEdit
AnchorSideLeft.Control = XLabel
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = PositionBevel
AnchorSideTop.Side = asrBottom
Left = 17
Height = 23
Top = 256
Width = 66
BorderSpacing.Left = 4
BorderSpacing.Top = 6
BorderSpacing.Bottom = 6
TabOrder = 4
end
object YSpinEdit: TSpinEdit
AnchorSideLeft.Control = YLabel
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = XSpinEdit
AnchorSideTop.Side = asrCenter
Left = 102
Height = 23
Top = 256
Width = 66
BorderSpacing.Left = 4
TabOrder = 5
end
object HelpFileNameEdit: TFileNameEdit
AnchorSideTop.Control = HelpFileNameLabel
AnchorSideTop.Side = asrBottom
Left = 8
Height = 23
Top = 359
Width = 244
DialogOptions = []
FilterIndex = 0
HideDirectories = False
ButtonWidth = 23
NumGlyphs = 1
BorderSpacing.Top = 3
MaxLength = 0
TabOrder = 6
end
object PromptEdit: TEdit
AnchorSideTop.Control = PromptLabel
AnchorSideTop.Side = asrBottom
Left = 16
Height = 23
Top = 443
Width = 164
BorderSpacing.Top = 3
TabOrder = 7
Text = 'PromptEdit'
end
object MaskInputCheckBox: TCheckBox
AnchorSideTop.Control = PromptEdit
AnchorSideTop.Side = asrCenter
Left = 191
Height = 19
Top = 445
Width = 76
Caption = 'MaskInput'
TabOrder = 8
end
object ValueEdit: TEdit
AnchorSideTop.Control = ValueLabel
AnchorSideTop.Side = asrBottom
Left = 16
Height = 23
Top = 496
Width = 112
BorderSpacing.Top = 3
TabOrder = 9
Text = 'ValueEdit'
end
object DefaultEdit: TEdit
AnchorSideTop.Control = DefaultValue
AnchorSideTop.Side = asrBottom
Left = 138
Height = 23
Top = 496
Width = 136
BorderSpacing.Top = 3
TabOrder = 10
Text = 'DefaultEdit'
end
object SourceWrapperGroupBox: TGroupBox
Left = 285
Height = 256
Top = 264
Width = 285
Caption = 'SourceWrapperGroupBox'
ClientHeight = 236
ClientWidth = 281
TabOrder = 12
object IfThenRadioButton: TRadioButton
Left = 9
Height = 19
Top = 8
Width = 69
Caption = 'if...then...'
Checked = True
OnClick = SetIfOrCaseExecute
TabOrder = 0
TabStop = True
end
object IfThenElseRadioButton: TRadioButton
AnchorSideTop.Control = IfThenRadioButton
AnchorSideTop.Side = asrBottom
Left = 7
Height = 19
Top = 29
Width = 101
BorderSpacing.Top = 2
Caption = 'if...then...else ...'
OnClick = SetIfOrCaseExecute
TabOrder = 1
end
object CaseOfEndRadioButton: TRadioButton
AnchorSideLeft.Control = IfThenRadioButton
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = IfThenRadioButton
Left = 128
Height = 19
Top = 10
Width = 107
BorderSpacing.Left = 50
BorderSpacing.Top = 2
Caption = 'case ... of ... end;'
OnClick = SetIfOrCaseExecute
TabOrder = 2
end
object CaseOfEndElseRadioButton: TRadioButton
AnchorSideLeft.Control = CaseOfEndRadioButton
AnchorSideTop.Control = CaseOfEndRadioButton
AnchorSideTop.Side = asrBottom
Left = 128
Height = 19
Top = 31
Width = 116
BorderSpacing.Top = 2
Caption = 'case ... of ... else ...'
OnClick = SetIfOrCaseExecute
TabOrder = 3
end
object BeginEndCheckBox: TCheckBox
Left = 9
Height = 19
Top = 56
Width = 85
Caption = 'begin ... end'
TabOrder = 4
end
object SourceNotebook: TNotebook
Left = 0
Height = 152
Top = 84
Width = 281
PageIndex = 0
Align = alBottom
TabOrder = 5
TabStop = True
object PageIf: TPage
object Label1: TLabel
Left = 7
Height = 15
Top = 6
Width = 60
Caption = '"if" RESULT'
ParentColor = False
end
object IfResultComboBox: TComboBox
AnchorSideTop.Control = Label1
AnchorSideTop.Side = asrBottom
Left = 7
Height = 23
Top = 24
Width = 175
BorderSpacing.Top = 3
ItemHeight = 15
ItemIndex = 0
Items.Strings = (
'mbOK'
'mbCancel'
)
Style = csDropDownList
TabOrder = 0
Text = 'mbOK'
end
end
object PageCase: TPage
object CaseResultCheckGroup: TCheckGroup
Left = 10
Height = 128
Top = 0
Width = 238
Align = alClient
AutoFill = True
BorderSpacing.Left = 10
Caption = '"case" RESULT'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 3
ClientHeight = 128
ClientWidth = 238
Columns = 3
Items.Strings = (
'mbOK'
'mbCancel'
)
TabOrder = 0
Data = {
020000000302
}
end
end
object PageString: TPage
object StringResultLabel: TLabel
AnchorSideTop.Side = asrBottom
Left = 9
Height = 16
Top = 10
Width = 75
BorderSpacing.Top = 8
Caption = 'String RESULT'
ParentColor = False
end
object StringResultEdit: TEdit
AnchorSideTop.Control = StringResultLabel
AnchorSideTop.Side = asrBottom
Left = 9
Height = 23
Top = 29
Width = 173
BorderSpacing.Top = 3
TabOrder = 0
Text = 'StringResultEdit'
end
end
end
end
object KindMessageComboBox: TComboBox
Left = 6
Height = 23
Top = 25
Width = 572
Align = alTop
BorderSpacing.Left = 6
BorderSpacing.Top = 4
BorderSpacing.Right = 6
ItemHeight = 15
Items.Strings = (
'{Filled @runtime}'
)
OnChange = MessageSetupExecute
Style = csDropDownList
TabOrder = 14
end
object MsgMemo: TMemo
AnchorSideTop.Control = MsgLabel
AnchorSideTop.Side = asrBottom
Left = 6
Height = 94
Top = 141
Width = 268
BorderSpacing.Top = 3
Lines.Strings = (
'MsgLabel'
)
OnChange = GetParamsFmtExecute
OnEditingDone = GetParamsFmtExecute
ScrollBars = ssAutoVertical
TabOrder = 11
WordWrap = False
end
object ButtonsNotebook: TNotebook
Left = 285
Height = 177
Top = 70
Width = 285
PageIndex = 0
TabOrder = 13
TabStop = True
object Page1: TPage
object ButtonsCheckGroup: TCheckGroup
Left = 0
Height = 177
Top = 0
Width = 285
Align = alClient
AutoFill = True
Caption = 'BUTTONS (TMsgDlgButtons)'
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 2
ClientHeight = 157
ClientWidth = 281
Columns = 2
Items.Strings = (
'mbYes'
'mbNo'
'mbOK'
'mbCancel'
'mbAbort'
'mbRetry'
'mbIgnore'
'mbAll'
'mbNoToAll'
'mbYesToAll'
'mbHelp'
'mbClose'
)
OnItemClick = ButtonsCheckGroupItemClick
TabOrder = 0
Data = {
0C000000020203030202020202020202
}
end
end
object Page2: TPage
object ButtonsPanel: TPanel
Left = 0
Height = 177
Top = 0
Width = 285
Align = alClient
ClientHeight = 177
ClientWidth = 285
TabOrder = 0
object ButtonsStringGrid: TStringGrid
Left = 1
Height = 138
Top = 1
Width = 283
Align = alTop
ColCount = 2
FixedCols = 0
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goSmoothScroll]
RowCount = 4
TabOrder = 0
OnPickListSelect = UpdateQuestioDlgResultExecute
OnSelectEditor = ButtonsStringGridSelectEditor
ColWidths = (
171
104
)
Cells = (
8
0
0
'BUTTONS (array of const)'
0
1
'Yes'
0
2
'No'
0
3
'Cancel'
1
0
'Modal Result'
1
1
'mrYes'
1
2
'mrNo'
1
3
'mrCancel'
)
end
object Panel2: TPanel
Left = 1
Height = 37
Top = 139
Width = 283
Align = alClient
BevelInner = bvLowered
BevelOuter = bvSpace
ClientHeight = 37
ClientWidth = 283
TabOrder = 1
object BitBtn1: TBitBtn
Left = 2
Height = 33
Top = 2
Width = 128
Action = AddConst
Align = alLeft
TabOrder = 0
end
object BitBtn2: TBitBtn
Left = 153
Height = 33
Top = 2
Width = 128
Action = DelConst
Align = alRight
TabOrder = 1
end
end
end
end
end
object ButtonPanel: TPanel
Left = 0
Height = 49
Top = 542
Width = 584
Align = alBottom
AutoSize = True
BevelOuter = bvNone
ClientHeight = 49
ClientWidth = 584
TabOrder = 15
object TestButton: TButton
AnchorSideLeft.Control = ButtonPanel
AnchorSideTop.Control = ButtonPanel
Left = 6
Height = 37
Top = 6
Width = 256
Action = Test
BorderSpacing.Around = 6
BorderSpacing.InnerBorder = 4
TabOrder = 0
end
object OkButton: TBitBtn
AnchorSideRight.Control = CancelButton
Left = 372
Height = 37
Top = 6
Width = 100
Anchors = [akTop, akRight]
AutoSize = True
BorderSpacing.Around = 6
Caption = '&OK'
Constraints.MinHeight = 37
Constraints.MinWidth = 100
Default = True
Kind = bkOK
ModalResult = 1
TabOrder = 1
end
object CancelButton: TBitBtn
AnchorSideLeft.Control = OkButton
AnchorSideLeft.Side = asrBottom
AnchorSideRight.Control = ButtonPanel
AnchorSideRight.Side = asrBottom
Left = 478
Height = 37
Top = 6
Width = 100
Anchors = [akTop, akRight]
BorderSpacing.Around = 6
Cancel = True
Caption = 'Cancel'
Constraints.MinHeight = 37
Constraints.MinWidth = 100
Kind = bkCancel
ModalResult = 2
TabOrder = 2
end
end
object ActionList1: TActionList
left = 456
top = 368
object AddConst: TAction
Caption = 'AddConst'
OnExecute = AddConstExecute
end
object DelConst: TAction
Caption = 'DelConst'
OnExecute = DelConstExecute
end
object MessageSetup: TAction
Caption = 'MessageSetup'
OnExecute = MessageSetupExecute
end
object MessagesInit: TAction
Caption = 'MessagesInit'
OnExecute = MessagesInitExecute
end
object Test: TAction
Caption = 'Test'
OnExecute = TestExecute
end
object GetMessageForSource: TAction
Caption = 'GetMessageForSource'
OnExecute = GetMessageForSourceExecute
end
object GetParamsFmt: TAction
Caption = 'GetParamsFmt'
OnExecute = GetParamsFmtExecute
end
object SetIfOrCase: TAction
Caption = 'SetIfOrCase'
OnExecute = SetIfOrCaseExecute
end
object UpdateQuestioDlgResult: TAction
Caption = 'UpdateQuestioDlgResult'
OnExecute = UpdateQuestioDlgResultExecute
end
end
end
|