mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-24 01:59:43 +02:00
IDE: designer: menu editor: less overhead
git-svn-id: trunk@52224 -
This commit is contained in:
parent
21b24b5afb
commit
4819139549
@ -1889,11 +1889,16 @@ begin
|
||||
GlobalDesignHook.AddHandlerObjectPropertyChanged(@OnObjectPropertyChanged);
|
||||
GlobalDesignHook.AddHandlerModified(@OnDesignerModified);
|
||||
GlobalDesignHook.AddHandlerRefreshPropertyValues(@OnDesignerRefreshPropertyValues);
|
||||
Parent := aForm;
|
||||
AutoSize := False;
|
||||
Color := clBtnFace;
|
||||
BorderStyle := bsNone;
|
||||
Align := alClient;
|
||||
DisableAutoSizing;
|
||||
try
|
||||
AutoSize := False;
|
||||
Color := clBtnFace;
|
||||
BorderStyle := bsNone;
|
||||
Align := alClient;
|
||||
Parent := aForm;
|
||||
finally
|
||||
EnableAutoSizing;
|
||||
end;
|
||||
end;
|
||||
|
||||
destructor TShadowMenu.Destroy;
|
||||
|
Loading…
Reference in New Issue
Block a user