mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 05:19:25 +02:00
LCL: TCustomEdit: when Text property is assigned Modified should be setted up to False according to embarcadero docs.
git-svn-id: trunk@26370 -
This commit is contained in:
parent
4825567e0d
commit
2b886c466e
@ -463,6 +463,12 @@ begin
|
||||
end;//End if (Button = mbLeft)
|
||||
end;
|
||||
|
||||
procedure TCustomEdit.RealSetText(const AValue: TCaption);
|
||||
begin
|
||||
inherited RealSetText(AValue);
|
||||
Modified := False;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Method: TCustomEdit.SetModified
|
||||
Params: Value to set FModified to
|
||||
|
@ -729,6 +729,7 @@ type
|
||||
procedure KeyUp(var Key: Word; Shift: TShiftState); override;
|
||||
procedure WMChar(var Message: TLMChar); message LM_CHAR;
|
||||
procedure MouseUp(Button: TMouseButton; Shift:TShiftState; X, Y: Integer); override;
|
||||
procedure RealSetText(const AValue: TCaption); override;
|
||||
property AutoSelect: Boolean read FAutoSelect write FAutoSelect default True;
|
||||
property AutoSelected: Boolean read FAutoSelected write FAutoSelected;
|
||||
property ParentColor default False;
|
||||
|
Loading…
Reference in New Issue
Block a user