View Issue Details

IDProjectCategoryView StatusLast Update
0006497JEDI VCL00 JVCL Componentspublic2019-04-30 16:15
ReporterdbedrenkoAssigned Toobones 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product VersionDaily / GIT 
Target VersionFixed in VersionDaily / GIT 
Summary0006497: Make TJvValidateEdit.Value return Cardinal for dfHex
DescriptionThe type returned by the `TJvValidateEdit.Value` property depends on the chosen `TJvValidateEdit.DisplayFormat`.

I have some `TJvValidateEdit` elements with `DisplayFormat: dfHex` in which the user can enter a number that fits in a `Cardinal`, e.g. $FFFFFFFF. The problem is that in `TJvCustomValidateEdit.GetValue()`:

    dfHex:
      Result := StrToIntDef('$' + FEditText, 0);

You don't need to worry about supporting negative numbers because `dfHex` prevents the minus sign ("-") being entered.

TagsNo tags attached.

Activities

obones

2018-07-18 15:44

administrator   ~0021493

Is this a feature request? If yes, please provide a pull request at Github containing the required changes

mh

2019-04-28 11:07

reporter   ~0021775

Pull request created:
https://github.com/project-jedi/jvcl/pull/109

Issue History

Date Modified Username Field Change
2016-02-24 15:07 dbedrenko New Issue
2018-07-18 15:44 obones Note Added: 0021493
2018-07-18 15:44 obones Status new => feedback
2019-04-28 11:07 mh Note Added: 0021775
2019-04-30 16:15 obones Status feedback => resolved
2019-04-30 16:15 obones Fixed in Version => Daily / GIT
2019-04-30 16:15 obones Resolution open => fixed
2019-04-30 16:15 obones Assigned To => obones