mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-30 22:42:39 +02:00
29 lines
1.4 KiB
PHP
29 lines
1.4 KiB
PHP
{%MainUnit ../controls.pp}
|
|
|
|
{*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* See the file COPYING.modifiedLGPL.txt, included in this distribution, *
|
|
* for details about the copyright. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
|
* *
|
|
*****************************************************************************
|
|
}
|
|
|
|
|
|
{-------------------------------------------------------------------------------
|
|
function HostDockSiteManagerAvailable(HostDockSite: TWinControl): boolean;
|
|
-------------------------------------------------------------------------------}
|
|
function HostDockSiteManagerAvailable(HostDockSite: TWinControl): boolean;
|
|
begin
|
|
Result:=(HostDockSite<>nil) and HostDockSite.UseDockManager
|
|
and (HostDockSite.DockManager<>nil);
|
|
end;
|
|
|
|
|
|
// included by controls.pp
|