mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-17 00:57:55 +02:00
SpinEditEx: set NumbersOnly to true in constructor to comply with its default value
git-svn-id: trunk@58349 -
This commit is contained in:
parent
8ea5419293
commit
843f2cd278
@ -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
|
||||
|
@ -296,6 +296,8 @@ type
|
||||
{ TSpinEdit }
|
||||
|
||||
TSpinEditEx = class(TCustomSpinEditEx)
|
||||
public
|
||||
constructor Create(TheOwner: TComponent); override;
|
||||
public
|
||||
property AutoSelected;
|
||||
published
|
||||
|
Loading…
Reference in New Issue
Block a user