View Issue Details

IDProjectCategoryView StatusLast Update
0006240JEDI VCL00 JVCL Componentspublic2015-09-14 13:20
ReporterZENsanAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformWindowsOSWindows 7OS Version
Product VersionDaily / GIT 
Target VersionFixed in Version3.48 
Summary0006240: TJvDBSpinEdit wrong appearance with MinValue/MaxValue
DescriptionSet the DBSpinEdit to the DB field which is NULL. It display the empty box - that's correct.
Now once you set the MinValue to the say "-2" the value becomes -2 and not NULL anymore!
Additional InformationI fixed that temporaly for me like this:
function TJvDBSpinEdit.GetValue: Extended;
begin
  FIsNull := Text = '';
  if FIsNull then
    Value := 0
  else
    Result := inherited GetValue;
  //FIsNull := (Text = '') and (Result = 0.0); - original code
end;
TagsNo tags attached.

Activities

obones

2013-12-16 13:11

administrator   ~0020861

Please provide the zipped sources of a sample application showing this

2013-12-16 13:29

 

Projects.zip (1,396 bytes)

obones

2013-12-18 15:51

administrator   ~0020885

This is now fixed in GIT

Issue History

Date Modified Username Field Change
2013-12-16 11:07 ZENsan New Issue
2013-12-16 13:11 obones Note Added: 0020861
2013-12-16 13:11 obones Status new => feedback
2013-12-16 13:29 ZENsan File Added: Projects.zip
2013-12-16 17:52 obones Status feedback => acknowledged
2013-12-18 15:51 obones Note Added: 0020885
2013-12-18 15:51 obones Status acknowledged => resolved
2013-12-18 15:51 obones Fixed in Version => Daily / GIT
2013-12-18 15:51 obones Resolution open => fixed
2013-12-18 15:51 obones Assigned To => obones
2015-09-14 13:20 obones Fixed in Version Daily / GIT => 3.48