View Issue Details

IDProjectCategoryView StatusLast Update
0002931JEDI VCL00 JVCL Componentspublic2006-03-30 07:50
ReporteranonymousAssigned Toobones 
PrioritynormalSeverityminorReproducibilityrandom
Status resolvedResolutionfixed 
Product Version3.00 
Target VersionFixed in Version3.30 
Summary0002931: TJvValidateEdit and FStandardFontColor
DescriptionIf i set Font.color to my value .. then sometimes (randomly :( ), when I set new value to the JvValidateEdit.Value it change my color to old (in designer set).

in JvValidateEdit.pas there is
on line 1029

  case FCriticalPoints.CheckPoints of
    cpNone:
      Font.Color := FStandardFontColor;

I guess that this is not valid action in my case..

What do you think?
Can I just over jump that situation with some Propery Settings ..?

I can't find where is problem for sure, because during ValidateEdit repainting, it calls JvEdit.pas, JvJCLUtils.pas . ( and they use FOldFontColor ... )

Thanks..
TagsNo tags attached.

Activities

anonymous

2005-05-05 07:02

viewer   ~0007111

In fact the problem is in

jvEdit.pas

line 933

  FIsEmptyValue := (Value = '') and (EmptyValue <> '');
  if not FIsEmptyValue then
  begin
   // Font.Color := FOldFontColor; <- this is problem :(
    inherited Text := Value;
  end


Sorry for bothering ..

I am aware of ValidateEdit component power .. but from my point of view the simplicity of CurrencyEdit should have been kept ..

obones

2006-03-30 07:50

administrator   ~0008766

This should have been fixed in the latest version.

Issue History

Date Modified Username Field Change
2005-05-05 06:44 anonymous New Issue
2005-05-05 07:02 anonymous Note Added: 0007111
2006-03-30 07:50 obones Status new => resolved
2006-03-30 07:50 obones Resolution open => fixed
2006-03-30 07:50 obones Assigned To => obones
2006-03-30 07:50 obones Note Added: 0008766