mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 01:48:17 +02:00
call inherited message handler to show/hide edit (fixes bug #809)
git-svn-id: trunk@7102 -
This commit is contained in:
parent
c83972e61b
commit
6bc322c537
@ -539,12 +539,15 @@ end;
|
||||
|
||||
procedure TCustomEditButton.CMVisibleChanged(var Msg: TLMessage);
|
||||
begin
|
||||
inherited CMVisibleChanged(Msg);
|
||||
|
||||
CheckButtonVisible;
|
||||
end;
|
||||
|
||||
procedure TCustomEditButton.CMEnabledChanged(var Msg: TLMessage);
|
||||
begin
|
||||
inherited CMEnabledChanged(Msg);
|
||||
|
||||
if FButton<>nil then
|
||||
FButton.Enabled:=Enabled;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user