You've already forked lazarus-ccr
Fix: TJLabeledDateEdit and TJLabeledDateTimeEdit fix set value for empty dates
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3498 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -150,7 +150,9 @@ end;
|
||||
procedure TJLabeledDateEdit.formatInput;
|
||||
begin
|
||||
if theValue <> 0 then
|
||||
Text := FormatDateTime(DisplayFormat, theValue);
|
||||
Text := FormatDateTime(DisplayFormat, theValue)
|
||||
else
|
||||
Text := '';
|
||||
end;
|
||||
|
||||
procedure TJLabeledDateEdit.SetButtonWidth(AValue: Integer);
|
||||
|
@ -155,7 +155,9 @@ end;
|
||||
procedure TJLabeledDateTimeEdit.formatInput;
|
||||
begin
|
||||
if theValue <> 0 then
|
||||
Text := FormatDateTime(DisplayFormat, theValue);
|
||||
Text := FormatDateTime(DisplayFormat, theValue)
|
||||
else
|
||||
Text := '';
|
||||
end;
|
||||
|
||||
procedure TJLabeledDateTimeEdit.SetButtonWidth(AValue: integer);
|
||||
|
Reference in New Issue
Block a user