mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 07:16:00 +02:00
win32: force showing of form close button in the design-time (even if BorderIcons and BorderStyle request to hide it)
git-svn-id: trunk@21753 -
This commit is contained in:
parent
e19f46701f
commit
eeba75a1a6
@ -234,7 +234,7 @@ var
|
||||
begin
|
||||
Result := 0;
|
||||
BorderIcons := AForm.BorderIcons;
|
||||
if biSystemMenu in BorderIcons then
|
||||
if (biSystemMenu in BorderIcons) or (csDesigning in AForm.ComponentState) then
|
||||
Result := Result or WS_SYSMENU;
|
||||
if GetDesigningBorderStyle(AForm) in [bsNone, bsSingle, bsSizeable] then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user