View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003493 | JEDI VCL | 00 JVCL Components | public | 2006-02-07 05:49 | 2006-02-09 14:13 |
Reporter | esasse | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | PC | OS | Windows | OS Version | XP |
Product Version | 3.10 | ||||
Target Version | Fixed in Version | 3.20 | |||
Summary | 0003493: JvValidateEdit CriticalPoint color doesn't work when you set value by code | ||||
Description | In the JvValidateEdit, if you enable CriticalPoints and set the value by code it doesn't change the color of the font to reflect a critical point. | ||||
Steps To Reproduce | 1 - Put a JvValidateEdit in a form. 2 - Inside CriticalPoints property, set CheckPoint to cpMinValue. 3 - In Form's OnCreate, put something like: JvValidateEdit1.Value := -2000; 4 - Notice that the color didn't change to red, as it should be. 5 - Now click with the mouse above the edit and it will turn red. | ||||
Tags | No tags attached. | ||||
|
Confirmed with D6 under XP Home and the latest CVS |
|
This is now fixed in CVS. The fix consists in moving if (FCriticalPoints.CheckPoints <> cpNone) and (FDisplayFormat in [dfBinary, dfCurrency, dfFloat, dfHex, dfInteger, dfOctal, dfPercent, dfScientific, dfYear]) then begin SetFontColor; end; After all the calls to ChangeText in the DisplayMethod. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-02-07 05:49 | esasse | New Issue | |
2006-02-09 13:55 | obones | Note Added: 0008536 | |
2006-02-09 13:55 | obones | Status | new => confirmed |
2006-02-09 14:13 | obones | Status | confirmed => resolved |
2006-02-09 14:13 | obones | Resolution | open => fixed |
2006-02-09 14:13 | obones | Assigned To | => obones |
2006-02-09 14:13 | obones | Note Added: 0008537 |