Project JEDI - Issue Tracker - JEDI VCL
Viewing Issue Advanced Details
6240 00 JVCL Components major always 2013-12-16 11:07 2015-09-14 13:20
ZENsan Windows  
obones Windows 7  
normal  
resolved Daily / GIT  
fixed  
none    
none 3.48  
0006240: TJvDBSpinEdit wrong appearance with MinValue/MaxValue
Set 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!
I 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;
zip file icon Projects.zip [^] (1,396 bytes) 2013-12-16 13:29
Issue History
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

Notes
(0020861)
obones   
2013-12-16 13:11   
Please provide the zipped sources of a sample application showing this
(0020885)
obones   
2013-12-18 15:51   
This is now fixed in GIT