You've already forked lazarus-ccr
RxFPC:fix error in priperty Value
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3631 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -289,12 +289,14 @@ end;
|
|||||||
|
|
||||||
function TCustomNumEdit.GetValue: Extended;
|
function TCustomNumEdit.GetValue: Extended;
|
||||||
begin
|
begin
|
||||||
if not (csDesigning in ComponentState) then
|
if (not (csDesigning in ComponentState)) and FFocusedDisplay then
|
||||||
|
begin
|
||||||
try
|
try
|
||||||
UpdateData;
|
UpdateData;
|
||||||
except
|
except
|
||||||
FValue := FMinValue;
|
FValue := FMinValue;
|
||||||
end;
|
end;
|
||||||
|
end;
|
||||||
Result := FValue;
|
Result := FValue;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user