mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 01:19:37 +02:00
lcl: edit: don't call OnEditingDone if ReadOnly
git-svn-id: trunk@56338 -
This commit is contained in:
parent
0620f4cc84
commit
251aa8f6fe
@ -640,6 +640,12 @@ begin
|
||||
inherited DoExit;
|
||||
end;
|
||||
|
||||
procedure TCustomEdit.EditingDone;
|
||||
begin
|
||||
if not ReadOnly then
|
||||
inherited EditingDone;
|
||||
end;
|
||||
|
||||
procedure TCustomEdit.FontChanged(Sender: TObject);
|
||||
var
|
||||
HintFont: TObject;
|
||||
|
@ -759,6 +759,7 @@ type
|
||||
procedure Change; virtual;
|
||||
procedure DoEnter; override;
|
||||
procedure DoExit; override;
|
||||
procedure EditingDone; override;
|
||||
function GetCaretPos: TPoint; virtual;
|
||||
function GetNumbersOnly: Boolean; virtual;
|
||||
function GetReadOnly: Boolean; virtual;
|
||||
|
Loading…
Reference in New Issue
Block a user