mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 02:58:05 +02:00
29 lines
808 B
PHP
29 lines
808 B
PHP
{%MainUnit ../extctrls.pp}
|
|
|
|
{******************************************************************************
|
|
TBoundLabel
|
|
******************************************************************************
|
|
|
|
*****************************************************************************
|
|
This file is part of the Lazarus Component Library (LCL)
|
|
|
|
See the file COPYING.modifiedLGPL.txt, included in this distribution,
|
|
for details about the license.
|
|
*****************************************************************************
|
|
}
|
|
|
|
|
|
{ TBoundLabel }
|
|
|
|
constructor TBoundLabel.Create(TheOwner: TComponent);
|
|
begin
|
|
inherited Create(TheOwner);
|
|
Name := 'SubLabel';
|
|
SetSubComponent(True);
|
|
if Assigned(TheOwner) then
|
|
Caption := TheOwner.Name;
|
|
end;
|
|
|
|
|
|
// included by extctrls.pp
|