Hello,
A TInspectorBar with a spinEdit. Min and max are set. Select the value in the spin edit, delete the text (backspace key), click on a another item, an exception is thrown. No way to stop it, that I have found.
Line 7614:
FInspectorSpin.InspectorItem.IntValue := FInspectorSpin.Value;
calls.
function TInspSpinEdit.GetValue: LongInt;
begin
try
Result := StrToInt (Text);
except
Result := FMinValue;
end;
end;
Ideas?
Maybe
Result := StrToIntDef (Text,FMinValue);
and remove the exception.
Or ???
Mark