mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 04:08:21 +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
This commit is contained in:
parent
f48623e90c
commit
603fb72945
@ -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