View Issue Details

IDProjectCategoryView StatusLast Update
0005577JEDI VCL00 JVCL Componentspublic2012-09-10 14:15
ReporterfeliciaAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.46 
Summary0005577: TJvColorTrackBar does not react to Mouse Down/Up/Click
DescriptionTJvColorTrackBar does not react to Mouse Down/Up/Click
Additional InformationAttached patch
TagsNo tags attached.

Activities

2011-05-09 12:28

 

TJvColorTrackBar.patch (1,234 bytes)
Index: JvColorTrackbar.pas
===================================================================
--- JvColorTrackbar.pas	(revision 12975)
+++ JvColorTrackbar.pas	(working copy)
@@ -1,4 +1,4 @@
-{-----------------------------------------------------------------------------
+{-----------------------------------------------------------------------------
 The contents of this file are subject to the Mozilla Public License
 Version 1.1 (the "License"); you may not use this file except in compliance
 with the License. You may obtain a copy of the License at
@@ -208,6 +208,8 @@
     else
       Position := WindowToPos(X);
   end;
+  if Assigned(OnMouseDown) then
+    OnMouseDown(Self, Button, Shift, X, Y);
 end;
 
 procedure TJvColorTrackBar.MouseMove(Shift: TShiftState; X, Y: Integer);
@@ -219,6 +221,8 @@
     else
       Position := WindowToPos(X);
   end;
+  if Assigned(OnMouseMove) then
+    OnMouseMove(Self, Shift, X, Y);
 end;
 
 procedure TJvColorTrackBar.MouseUp(Button: TMouseButton; Shift: TShiftState;
@@ -232,6 +236,8 @@
       Position := WindowToPos(X);
   end;
   FButtonDown := False;
+  if Assigned(OnMouseUp) then
+    OnMouseUp(Self, Button, Shift, X, Y);
 end;
 
 procedure TJvColorTrackBar.Paint;
TJvColorTrackBar.patch (1,234 bytes)

obones

2011-06-07 17:59

administrator   ~0018634

Please provide the zipped sources of a sample application showing this

obones

2011-09-21 14:31

administrator   ~0018958

This is now in SVN

Issue History

Date Modified Username Field Change
2011-05-09 12:28 felicia New Issue
2011-05-09 12:28 felicia File Added: TJvColorTrackBar.patch
2011-06-07 17:59 obones Note Added: 0018634
2011-06-07 17:59 obones Status new => feedback
2011-09-21 14:31 obones Note Added: 0018958
2011-09-21 14:31 obones Status feedback => resolved
2011-09-21 14:31 obones Fixed in Version => Daily / SVN
2011-09-21 14:31 obones Resolution open => fixed
2011-09-21 14:31 obones Assigned To => obones
2012-09-10 14:15 obones Fixed in Version Daily / SVN => 3.46