I'm building a new component and I would like to add one property where to associate a TVirtualStringTree object.
In the bellow picture I indicate and example from a TLabel object with the property FocusControl associated to a TEdit
If I do like this:
TMyComponent = class(TComponent)
private
FVirtualStringTree: TVirtualStringTree;
protected
{ Protected declarations }
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
published
property VirtualStringTree: TVirtualStringTree read FVirtualStringTree write FVirtualStringTree;
end;
I get an error like this: "Cannot load package .... It contains unit VirtualTrees.WorkerThread, which is also contained in package VirtualTreesR22.
Please an advise about how can I create this type of associations.
