mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 05:36:32 +02:00
T(Float)SpinEdit: update the control in EditingDone so that text matches Value. Reported by Jamie in https://forum.lazarus.freepascal.org/index.php/topic,57722.msg429596.html#msg429596
(cherry picked from commit 603fb72945
)
This commit is contained in:
parent
c2d023ea9e
commit
db180e7818
@ -43,6 +43,12 @@ begin
|
||||
inherited Change;
|
||||
end;
|
||||
|
||||
procedure TCustomFloatSpinEdit.EditingDone;
|
||||
begin
|
||||
UpdateControl;
|
||||
inherited EditingDone;
|
||||
end;
|
||||
|
||||
function TCustomFloatSpinEdit.RealGetText: TCaption;
|
||||
begin
|
||||
if HandleAllocated then
|
||||
|
@ -53,6 +53,7 @@ type
|
||||
protected
|
||||
class procedure WSRegisterClass; override;
|
||||
procedure Change; override;
|
||||
procedure EditingDone; override;
|
||||
function RealGetText: TCaption; override;
|
||||
procedure RealSetText(const AValue: TCaption); override;
|
||||
procedure TextChanged; override;
|
||||
|
Loading…
Reference in New Issue
Block a user