-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVirtualStringTree.h
More file actions
48 lines (41 loc) · 1.51 KB
/
VirtualStringTree.h
File metadata and controls
48 lines (41 loc) · 1.51 KB
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
//---------------------------------------------------------------------------
#ifndef VirtualStringTreeH
#define VirtualStringTreeH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include "VirtualTrees.hpp"
//---------------------------------------------------------------------------
struct VST
{
int id;
UnicodeString url;
UnicodeString info;
int count;
};
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TVirtualStringTree *VirtualStringTree;
TLabel *Information;
TLabel *Status;
TButton *Button1;
TButton *Button2;
TButton *Button3;
void __fastcall VirtualStringTreeGetText(TBaseVirtualTree *Sender, PVirtualNode Node,
TColumnIndex Column, TVSTTextType TextType, UnicodeString &CellText);
void __fastcall Button1Click(TObject *Sender);
void __fastcall VirtualStringTreeAddToSelection(TBaseVirtualTree *Sender, PVirtualNode Node);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif