FRColorEditor.dfm 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. object RColorEditor: TRColorEditor
  2. Left = 0
  3. Top = 0
  4. Width = 289
  5. Height = 95
  6. AutoSize = True
  7. TabOrder = 0
  8. TabStop = True
  9. OnResize = FrameResize
  10. object Label1: TLabel
  11. Left = 0
  12. Top = 2
  13. Width = 31
  14. Height = 19
  15. Caption = 'Red'
  16. Font.Charset = ANSI_CHARSET
  17. Font.Color = clRed
  18. Font.Height = -16
  19. Font.Name = 'Arial'
  20. Font.Style = [fsBold]
  21. ParentFont = False
  22. end
  23. object Label2: TLabel
  24. Left = 0
  25. Top = 26
  26. Width = 46
  27. Height = 19
  28. Caption = 'Green'
  29. Font.Charset = ANSI_CHARSET
  30. Font.Color = clLime
  31. Font.Height = -16
  32. Font.Name = 'Arial'
  33. Font.Style = [fsBold]
  34. ParentFont = False
  35. end
  36. object Label3: TLabel
  37. Left = 0
  38. Top = 50
  39. Width = 35
  40. Height = 19
  41. Caption = 'Blue'
  42. Font.Charset = ANSI_CHARSET
  43. Font.Color = clBlue
  44. Font.Height = -16
  45. Font.Name = 'Arial'
  46. Font.Style = [fsBold]
  47. ParentFont = False
  48. end
  49. object Label4: TLabel
  50. Left = 0
  51. Top = 74
  52. Width = 44
  53. Height = 19
  54. Caption = 'Alpha'
  55. Font.Charset = ANSI_CHARSET
  56. Font.Color = clWindowText
  57. Font.Height = -16
  58. Font.Name = 'Arial'
  59. Font.Style = [fsBold]
  60. ParentFont = False
  61. end
  62. object ColorEditorPaintBox: TPaintBox
  63. Left = 0
  64. Top = 0
  65. Width = 289
  66. Height = 95
  67. Align = alClient
  68. OnMouseDown = ColorEditorPaintBoxMouseDown
  69. OnMouseMove = ColorEditorPaintBoxMouseMove
  70. OnMouseUp = ColorEditorPaintBoxMouseUp
  71. OnPaint = ColorEditorPaintBoxPaint
  72. end
  73. object PAPreview: TPanel
  74. Left = 220
  75. Top = 6
  76. Width = 33
  77. Height = 73
  78. Hint = 'Double-click to select with Windows color picker'
  79. BevelInner = bvRaised
  80. BevelOuter = bvLowered
  81. BorderWidth = 1
  82. Color = clLime
  83. TabOrder = 0
  84. Visible = False
  85. OnDblClick = PAPreviewDblClick
  86. end
  87. object Panel1: TPanel
  88. Left = 0
  89. Top = 0
  90. Width = 289
  91. Height = 95
  92. Alignment = taLeftJustify
  93. BevelOuter = bvNone
  94. Caption = ' Color edit frame'
  95. TabOrder = 1
  96. Visible = False
  97. end
  98. object RedEdit: TEdit
  99. Left = 176
  100. Top = 4
  101. Width = 33
  102. Height = 22
  103. Font.Charset = ANSI_CHARSET
  104. Font.Color = clWindowText
  105. Font.Height = -11
  106. Font.Name = 'Arial'
  107. Font.Style = []
  108. ParentFont = False
  109. TabOrder = 2
  110. Text = '0'
  111. OnChange = RedEditChange
  112. end
  113. object GreenEdit: TEdit
  114. Left = 176
  115. Top = 26
  116. Width = 33
  117. Height = 22
  118. Font.Charset = ANSI_CHARSET
  119. Font.Color = clWindowText
  120. Font.Height = -11
  121. Font.Name = 'Arial'
  122. Font.Style = []
  123. ParentFont = False
  124. TabOrder = 3
  125. Text = '0'
  126. OnChange = GreenEditChange
  127. end
  128. object BlueEdit: TEdit
  129. Left = 176
  130. Top = 48
  131. Width = 33
  132. Height = 22
  133. Font.Charset = ANSI_CHARSET
  134. Font.Color = clWindowText
  135. Font.Height = -11
  136. Font.Name = 'Arial'
  137. Font.Style = []
  138. ParentFont = False
  139. TabOrder = 4
  140. Text = '0'
  141. OnChange = BlueEditChange
  142. end
  143. object AlphaEdit: TEdit
  144. Left = 176
  145. Top = 70
  146. Width = 33
  147. Height = 22
  148. Font.Charset = ANSI_CHARSET
  149. Font.Color = clWindowText
  150. Font.Height = -11
  151. Font.Name = 'Arial'
  152. Font.Style = []
  153. ParentFont = False
  154. TabOrder = 5
  155. Text = '0'
  156. OnChange = AlphaEditChange
  157. end
  158. object ColorDialog: TColorDialog
  159. Left = 232
  160. Top = 24
  161. end
  162. end