mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 23:30:30 +02:00
SpinEx: allow to read the inernal formatsettings of TCustomFloatSpinEditEx (needed for derived controls).
git-svn-id: trunk@63754 -
This commit is contained in:
parent
1f229f6246
commit
ff62abace0
@ -437,6 +437,11 @@ begin
|
||||
UpdateControl;
|
||||
end;
|
||||
|
||||
function TCustomFloatSpinEditEx.GetFormatsettings: TFormatSettings;
|
||||
begin
|
||||
Result := FFS;
|
||||
end;
|
||||
|
||||
|
||||
procedure TCustomFloatSpinEditEx.EditKeyPress(var Key: char);
|
||||
begin
|
||||
|
@ -195,6 +195,7 @@ type
|
||||
procedure SetExponentialFormatLimitPos(AValue: Integer);
|
||||
procedure SetPrecision(AValue: Integer);
|
||||
protected
|
||||
function GetFormatsettings: TFormatSettings;
|
||||
procedure EditKeyPress(var Key: char); override;
|
||||
function TextIsNumber(const S: String; out ANumber: Double): Boolean; override;
|
||||
function SafeInc(AValue: Double): Double; override;
|
||||
|
Loading…
Reference in New Issue
Block a user