You've already forked lazarus-ccr
RxFPC - fix text TCurrencyEdit.ZeroEmpty = true
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3666 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -657,6 +657,9 @@ function TCustomNumEdit.FormatDisplayText(Value: Extended): string;
|
||||
var
|
||||
Digits : integer;
|
||||
begin
|
||||
if FZeroEmpty and (Value = 0) then
|
||||
Result:=''
|
||||
else
|
||||
if DisplayFormat <> '' then
|
||||
Result:=FormatFloat(DisplayFormat, Value)
|
||||
else
|
||||
|
Reference in New Issue
Block a user