1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
{
*****************************************************************************
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.
*****************************************************************************
Author: Mattias Gaertner
Important:
Before you open the designer of this unit, you must install the package
DesignBaseClassDemoPkg, because it registers the TMyComponentClass.
Read the README.txt.
Abstract:
When you open the designer, you can see the property 'DemoProperty' in the
Object Inspector. This property ws inherited from TMyComponentClass.
}
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs,
CustomComponentClass;
type
{ TMyComponent1 }
TMyComponent1 = class(TMyComponentClass)
OpenDialog1: TOpenDialog;
private
{ private declarations }
public
{ public declarations }
end;
var
MyComponent1: TMyComponent1;
implementation
{$R unit1.lfm}
end.
|