StringMap_frMain.fmx 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. object frMain: TfrMain
  2. Left = 0
  3. Top = 0
  4. Caption = 'String map example'
  5. ClientHeight = 240
  6. ClientWidth = 320
  7. Position = DesktopCenter
  8. FormFactor.Width = 320
  9. FormFactor.Height = 480
  10. FormFactor.Devices = [Desktop]
  11. OnCreate = FormCreate
  12. OnDestroy = FormDestroy
  13. DesignerMasterStyle = 0
  14. object pnTop: TPanel
  15. Align = Top
  16. Size.Width = 320.000000000000000000
  17. Size.Height = 36.000000000000000000
  18. Size.PlatformDefault = False
  19. TabOrder = 0
  20. object btAdd: TButton
  21. Align = Left
  22. Cursor = crHandPoint
  23. Margins.Left = 6.000000000000000000
  24. Margins.Top = 6.000000000000000000
  25. Margins.Right = 6.000000000000000000
  26. Margins.Bottom = 6.000000000000000000
  27. Position.X = 6.000000000000000000
  28. Position.Y = 6.000000000000000000
  29. Size.Width = 80.000000000000000000
  30. Size.Height = 24.000000000000000000
  31. Size.PlatformDefault = False
  32. TabOrder = 0
  33. Text = 'Add'
  34. OnClick = btAddClick
  35. end
  36. object btRemove: TButton
  37. Align = Left
  38. Cursor = crHandPoint
  39. Enabled = False
  40. Margins.Top = 6.000000000000000000
  41. Margins.Right = 6.000000000000000000
  42. Margins.Bottom = 6.000000000000000000
  43. Position.X = 92.000000000000000000
  44. Position.Y = 6.000000000000000000
  45. Size.Width = 80.000000000000000000
  46. Size.Height = 24.000000000000000000
  47. Size.PlatformDefault = False
  48. TabOrder = 1
  49. Text = 'Remove'
  50. OnClick = btRemoveClick
  51. end
  52. object btClear: TButton
  53. Align = Left
  54. Cursor = crHandPoint
  55. Enabled = False
  56. Margins.Top = 6.000000000000000000
  57. Margins.Right = 6.000000000000000000
  58. Margins.Bottom = 6.000000000000000000
  59. Position.X = 178.000000000000000000
  60. Position.Y = 6.000000000000000000
  61. Size.Width = 80.000000000000000000
  62. Size.Height = 24.000000000000000000
  63. Size.PlatformDefault = False
  64. TabOrder = 2
  65. Text = 'Clear'
  66. OnClick = btClearClick
  67. end
  68. end
  69. object grMap: TGrid
  70. Align = Client
  71. CanFocus = True
  72. ClipChildren = True
  73. Size.Width = 320.000000000000000000
  74. Size.Height = 204.000000000000000000
  75. Size.PlatformDefault = False
  76. TabOrder = 1
  77. RowCount = 0
  78. Options = [AlternatingRowBackground, ColumnResize, ColumnMove, ColLines, RowLines, RowSelect, Tabs, Header, AutoDisplacement]
  79. OnGetValue = grMapGetValue
  80. Viewport.Width = 316.000000000000000000
  81. Viewport.Height = 179.000000000000000000
  82. object coKey: TStringColumn
  83. Header = 'Key'
  84. Size.Width = 120.000000000000000000
  85. end
  86. object coValue: TStringColumn
  87. Header = 'Value'
  88. Size.Width = 120.000000000000000000
  89. end
  90. end
  91. end