mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 19:09:35 +02:00
LazControl: LazIntegerEdit, result not set
This commit is contained in:
parent
5bdd772f03
commit
20445109d5
@ -411,6 +411,7 @@ var
|
|||||||
s: String;
|
s: String;
|
||||||
n: Boolean;
|
n: Boolean;
|
||||||
begin
|
begin
|
||||||
|
Result := True;
|
||||||
APrefix := '';
|
APrefix := '';
|
||||||
AVal := 0;
|
AVal := 0;
|
||||||
s := RealGetText;
|
s := RealGetText;
|
||||||
@ -433,6 +434,7 @@ begin
|
|||||||
AVal := -AVal;
|
AVal := -AVal;
|
||||||
{$POP}
|
{$POP}
|
||||||
except
|
except
|
||||||
|
Result := False;
|
||||||
if n then
|
if n then
|
||||||
AVal := Min_Limit
|
AVal := Min_Limit
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user