View Issue Details

IDProjectCategoryView StatusLast Update
0003995JEDI VCL00 JVCL Componentspublic2007-06-19 06:40
ReporterjswebyAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionnot fixable 
Product Version3.20 
Target VersionFixed in Version 
Summary0003995: JvImgBtn Color property in Win XP
DescriptionThe standard Delphi TButton does not have a Color property so I use the TJvImgBtn instead which does. Under XP, with all the theming support enabled, the buttons correctly take on the XP theme appearance but lose the colour applied to them, defaulting back to the standard XP button colour.
TagsNo tags attached.

Activities

jsweby

2006-11-09 04:30

reporter   ~0010431

I can confirm this behaviour is the same in Windows Vista RC1 Build 5600 although I'm aware from other reports of your view of beta-releases of Windows!

obones

2007-01-05 06:48

administrator   ~0010550

Well, I have a design problem here. You are using themes, but do not want them to be applied to the button. Fair enough, I can understand that. But how do I detect that in the component?
I mean, when should I use the color property and when should I not?
Would not using it if its value is equal to the default one enough?

jsweby

2007-01-30 10:22

reporter   ~0010688

I am using themes and I DO want them to be applied to the button.

Am I to understand that you cannot use the theme AND set a colour? Basically I want the smooth, round edges that you get with an XP themed button but not its default colour? Is this not an option?

obones

2007-06-19 06:39

administrator   ~0013432

You understood correctly. Basically, if you use themes in your application, you relinquish all drawing details to the theme manager. That's the point of themes, that is to overcome all drawing so that all applications look the same.

Issue History

Date Modified Username Field Change
2006-11-09 04:14 jsweby New Issue
2006-11-09 04:30 jsweby Note Added: 0010431
2007-01-05 06:48 obones Note Added: 0010550
2007-01-05 06:48 obones Status new => feedback
2007-01-30 10:22 jsweby Note Added: 0010688
2007-06-19 06:39 obones Status feedback => resolved
2007-06-19 06:39 obones Resolution open => not fixable
2007-06-19 06:39 obones Assigned To => obones
2007-06-19 06:39 obones Note Added: 0013432