mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 22:12:35 +02:00
35 lines
1.4 KiB
PHP
35 lines
1.4 KiB
PHP
// included by extctrls.pp
|
|
|
|
{******************************************************************************
|
|
TBoundLabel
|
|
******************************************************************************
|
|
|
|
*****************************************************************************
|
|
* *
|
|
* This file is part of the Lazarus Component Library (LCL) *
|
|
* *
|
|
* See the file COPYING.LCL, 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. *
|
|
* *
|
|
*****************************************************************************
|
|
}
|
|
|
|
|
|
{ TBoundLabel }
|
|
|
|
constructor TBoundLabel.Create(TheOwner: TComponent);
|
|
begin
|
|
inherited Create(TheOwner);
|
|
Name := 'EditLabel';
|
|
if Assigned(TheOwner) then
|
|
Caption := TheOwner.Name;
|
|
end;
|
|
|
|
|
|
// included by extctrls.pp
|
|
|