View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001634 | JEDI VCL | 00 JVCL Components | public | 2004-04-14 04:54 | 2004-04-14 11:16 |
Reporter | borzov | Assigned To | user72 | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001634: Error in TJvValidateEdit : Value := 22,35. Result = 2235 | ||||
Description | I can't set double value to TjvValidateEdit.value function TJvCustomValidateEdit.getValue -> Result := StrToFloatDef(FEditText, 0); -> lStr := StrStripNonNumberChars(Str); -> if CharIsNumber(Ch) then -> function CharIsNumber(Ch: AnsiChar): Boolean; begin Result := Ch in ['0'..'9']; -????? end; may be, need: result := (Ch in ['0'..'9']) or (ch = DecimalSeparator); ? | ||||
Additional Information | object EditSumma: TJvValidateEdit Left = 272 Top = 64 Width = 145 Height = 23 Cursor = crHandPoint AutoSize = False CheckChars = '0123456789,' CriticalPoints.CheckPoints = cpNone CriticalPoints.ColorAbove = clBlue CriticalPoints.ColorBelow = clRed DecimalPlaces = 2 DisplayFormat = dfFloat EditText = '0' Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -13 Font.Name = 'Times New Roman' Font.Style = [fsBold] ParentFont = False PasswordChar = #0 TabOrder = 3 Text = '0,00' Value = 0.000000000000000000 OnChange = EditSummaChange end | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2004-04-14 04:54 | borzov | New Issue | |
2004-04-14 11:16 |
|
Status | new => resolved |
2004-04-14 11:16 |
|
Resolution | open => fixed |
2004-04-14 11:16 |
|
Assigned To | => user72 |
2004-04-14 11:16 |
|
Note Added: 0003856 |