lazarus/components/rtticontrols/examples/example1.pas
2013-09-28 15:57:45 +00:00

51 lines
1.0 KiB
ObjectPascal

{
*****************************************************************************
See the file COPYING.modifiedLGPL.txt, included in this distribution,
for details about the license.
*****************************************************************************
Author: Mattias Gaertner
Abstract:
Example for RTTI controls.
Demonstrates a few RTTI controls without any code.
}
unit Example1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, RTTICtrls,
RTTIGrids, StdCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
StaticText1: TStaticText;
StaticText2: TStaticText;
StaticText3: TStaticText;
StaticText4: TStaticText;
TICheckBox1: TTICheckBox;
TICheckBox2: TTICheckBox;
TIComboBox_Enabled: TTIComboBox;
TIEdit1: TTIEdit;
TIListBox_Color: TTIListBox;
TIPropertyGrid1: TTIPropertyGrid;
private
{ private declarations }
public
{ public declarations }
end;
var
Form1: TForm1;
implementation
{$R example1.lfm}
end.