View Issue Details

IDProjectCategoryView StatusLast Update
0004065JEDI VCL00 JVCL Componentspublic2007-06-19 07:48
ReporterRoman GanzAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in Version3.34 
Summary0004065: Down-Property of TJvgSpeedButton
DescriptionThe buttons TJvgSpeedButton and TJvgExtSpeedButton are great, but they have a little bug: When the Down property is set, they don't paint the correct style. So it is not possible to see, if a button is down.

The fix is attached, please commit it to the repository.
TagsNo tags attached.

Activities

2007-02-14 06:40

 

JvgSpeedButton.diff (556 bytes)
Index: JvgSpeedButton.pas
===================================================================
--- JvgSpeedButton.pas	(revision 11187)
+++ JvgSpeedButton.pas	(working copy)
@@ -168,7 +168,7 @@
 
   R := ClientRect;
 
-  if FIsDown and FMouseEnter then
+  if Down or (FIsDown and FMouseEnter) then
     BevelOuter := bvLowered
   else
     BevelOuter := bvRaised;
@@ -385,7 +385,7 @@
   end;
   R := ClientRect;
 
-  if FIsDown and FMouseEnter then
+  if Down or (FIsDown and FMouseEnter) then
     LStyle := StylePushed
   else
   if FMouseEnter then
JvgSpeedButton.diff (556 bytes)

obones

2007-06-19 07:47

administrator   ~0013447

This is now in SVN.

Issue History

Date Modified Username Field Change
2007-02-14 06:40 Roman Ganz New Issue
2007-02-14 06:40 Roman Ganz File Added: JvgSpeedButton.diff
2007-06-19 07:47 obones Status new => resolved
2007-06-19 07:47 obones Fixed in Version => Daily / SVN
2007-06-19 07:47 obones Resolution open => fixed
2007-06-19 07:47 obones Assigned To => obones
2007-06-19 07:47 obones Note Added: 0013447