mbColorLib: one test forgotten in prev commit...

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5518 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-12-16 15:04:18 +00:00
parent 0563e04bea
commit f2809fba90
3 changed files with 18 additions and 15 deletions

View File

@ -42,22 +42,22 @@ object Form1: TForm1
Height = 384
Top = 6
Width = 403
ActivePage = TabSheet10
ActivePage = TabSheet5
Anchors = [akTop, akLeft, akRight, akBottom]
TabIndex = 10
TabIndex = 4
TabOrder = 0
OnChange = PageControl1Change
OnMouseMove = PageControl1MouseMove
object TabSheet1: TTabSheet
Caption = 'HSLColorPicker'
ClientHeight = 303
ClientWidth = 391
ClientHeight = 356
ClientWidth = 395
object HSLColorPicker1: THSLColorPicker
Left = 8
Height = 287
Height = 340
Top = 8
Width = 377
SelectedColor = 685062
Width = 381
SelectedColor = 273922
HSPickerHintFormat = 'H: %h S: %s'#13'Hex: %hex'
LPickerHintFormat = 'Luminance: %l'
Anchors = [akTop, akLeft, akRight, akBottom]
@ -218,7 +218,7 @@ object Form1: TForm1
TabOrder = 3
object mbColorPalette1: TmbColorPalette
Left = 0
Height = 271
Height = 234
Top = 0
Width = 378
Anchors = [akTop, akLeft, akRight, akBottom]

View File

@ -417,7 +417,10 @@ begin
else if PageControl1.ActivePage = Tabsheet4 then
HSLRingPicker1.Enabled := CbEnabled.Checked
else if PageControl1.ActivePage = Tabsheet5 then
HSVColorPicker1.Enabled := CbEnabled.Checked
begin
HSVColorPicker1.Enabled := CbEnabled.Checked;
VColorPicker1.Enabled := CbEnabled.Checked;
end
else if PageControl1.ActivePage = Tabsheet6 then
SLHColorPicker1.Enabled := CbEnabled.Checked
else if PageControl1.ActivePage = Tabsheet11 then