- Mustangpeak Common Library - 1.7.0 - EasyListview - 1.7.0 git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.Mustangpeak@2 60b41242-d4b9-2247-b156-4ccd40706241
32 lines
1.0 KiB
C++
32 lines
1.0 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#include <vcl.h>
|
|
#pragma hdrstop
|
|
|
|
#include "Unit1.h"
|
|
//---------------------------------------------------------------------------
|
|
#pragma package(smart_init)
|
|
#pragma link "EasyListview"
|
|
#pragma link "EasyLVCommonObjects"
|
|
#pragma resource "*.dfm"
|
|
TForm1 *Form1;
|
|
//---------------------------------------------------------------------------
|
|
__fastcall TForm1::TForm1(TComponent* Owner)
|
|
: TForm(Owner)
|
|
{
|
|
}
|
|
//---------------------------------------------------------------------------
|
|
|
|
void __fastcall TForm1::FormCreate(TObject *Sender)
|
|
{
|
|
/*TEasyItem *item=*/EasyListview1->Items->AddVirtual(NULL);
|
|
}
|
|
//---------------------------------------------------------------------------
|
|
void __fastcall TForm1::EasyListview1ItemGetCaption(
|
|
TCustomEasyListview *Sender, TEasyItem *Item, int Column,
|
|
WideString &Caption)
|
|
{
|
|
Caption="Hello World";
|
|
}
|
|
//---------------------------------------------------------------------------
|