call inherited message handler to show/hide edit (fixes bug #809)

git-svn-id: trunk@7102 -
This commit is contained in:
micha 2005-04-25 12:47:52 +00:00
parent c83972e61b
commit 6bc322c537

View File

@ -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;