TDropBoxItem C++ issue

Hi,


TDropBoxItem descends from TCloudItem so you can cast the folder object.

This is demonstrated in the CloudStorageDemo (included with the product download).

Example:

var
  dif: TDropBoxItem;
  ci: TCloudItem;
begin
  dif := nil;

    if Assigned(TreeView1.Selected) then
    begin
      ci := TCloudItem(TreeView1.Selected.Data);
      if ci.ItemType = ciFolder then
      begin
        dif := ci as TDropBoxItem;
      end;
    end;