Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005880 [JEDI VCL] 00 JVCL Components minor always 2012-05-09 19:03 2013-12-13 11:24
Reporter doerk View Status public  
Assigned To obones
Priority normal Resolution suspended  
Status resolved   Product Version 3.45
Summary 0005880: D7: TJvValidateEdit (DisplayFormat: dfFloatFix) has wrong values when being set
Description when setting the values in a TJvValidateEdit (using AsFloat) wrong values are being set.
Additional Information declaration:
------------------

var
  edLuftPoren: TJvValidateEdit;

  edLuftPoren := TJvValidateEdit.Create(Self);

  with edLuftPoren do
  begin
    Name := 'edLuftPoren';
    Parent := Panel1;
    Left := 10;
    Top := 103;
    Width := 85;
    Height := 21;
    DisplayFormat := dfFloatFixed;
    DecimalPlaces := 1;
    HasMaxValue := True;
    HasMinValue := True;
    MaxValue := 100.000000000000000000;
    TabOrder := 6;
    OnKeyDown := DoOnFloatEditKeyDown;
  end;


setting the value:
------------------

    edLuftPoren.AsFloat := DbGrid1.DataSource.DataSet.FieldByName(SFieldNameLUFTPOREN).AsFloat;

  the actual value is 13, but the value shown is 1000.0
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0019750)
doerk (reporter)
2012-05-10 08:52

i am running a german delphi 7 on an english win xp(set up with german regional settings). when i test the same thing on an english delphi on a german win xp everything works fine. checking locale format settings show the same results on both test systems.
i think this issue is be connected to regional settings of delphi or windows, but that is quite hard to track down from here.
(0019868)
obones (administrator)
2012-06-11 17:33

Please use the latest SVN version and provide the zipped sources of a sample application showing this.
(0020774)
obones (administrator)
2013-12-13 11:24

No news, suspending the issue

- Issue History
Date Modified Username Field Change
2012-05-09 19:03 doerk New Issue
2012-05-10 08:52 doerk Note Added: 0019750
2012-06-11 17:33 obones Note Added: 0019868
2012-06-11 17:33 obones Status new => feedback
2013-12-13 11:24 obones Note Added: 0020774
2013-12-13 11:24 obones Status feedback => resolved
2013-12-13 11:24 obones Resolution open => suspended
2013-12-13 11:24 obones Assigned To => obones


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker