SpinEditEx: set NumbersOnly to true in constructor to comply with its default value

git-svn-id: trunk@58349 -
This commit is contained in:
ondrej 2018-06-20 06:30:24 +00:00
parent 8ea5419293
commit 843f2cd278
2 changed files with 11 additions and 0 deletions

View File

@ -27,6 +27,15 @@ begin
Result := NvbStrings[ANvb];
end;
{ TSpinEditEx }
constructor TSpinEditEx.Create(TheOwner: TComponent);
begin
inherited Create(TheOwner);
NumbersOnly := True;
end;
procedure TSpinEditExBase.UpdateControl;
var

View File

@ -296,6 +296,8 @@ type
{ TSpinEdit }
TSpinEditEx = class(TCustomSpinEditEx)
public
constructor Create(TheOwner: TComponent); override;
public
property AutoSelected;
published