| 4 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 5 | 
   | 
 uses | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 6 | 
   | 
   Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, | 
 
 
 
 
 
 
 
 
 
 
 
 | 7 | 
 < | 
   Dialogs, _BaseTemplate, ExtCtrls, VirtualTrees, StdCtrls; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 7 | 
 > | 
   Dialogs, _BaseTemplate, ExtCtrls, VirtualTrees, StdCtrls, ComCtrls, Grids, | 
 
 
 
 
 
 | 8 | 
 > | 
   MPHexEditor, Wrapgrid, VTHeaderPopup, Menus, _TreeElement; | 
 
 
 
 
 
 
 
 
 
 
 
 | 9 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 10 | 
   | 
 type | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 11 | 
   | 
   TForm_Meta = class(TForm_BaseTemplate) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 12 | 
   | 
     VST: TVirtualStringTree; | 
 
 
 
 
 
 
 
 
 
 | 12 | 
 – | 
     Panel2: TPanel; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 13 | 
   | 
     splitter: TSplitter; | 
 
 
 
 
 
 
 
 
 | 14 | 
 + | 
     rightPages: TPageControl; | 
 
 
 
 
 
 
 
 
 | 15 | 
 + | 
     tab_hex: TTabSheet; | 
 
 
 
 
 
 
 
 
 | 16 | 
 + | 
     tab_meta: TTabSheet; | 
 
 
 
 
 
 
 
 
 | 17 | 
 + | 
     panel_hex_actions: TPanel; | 
 
 
 
 
 
 
 
 
 | 18 | 
 + | 
     hex: TMPHexEditor; | 
 
 
 
 
 
 
 
 
 | 19 | 
 + | 
     splitter_hex_1: TSplitter; | 
 
 
 
 
 
 
 
 
 | 20 | 
 + | 
     value_viewer: TWrapGrid; | 
 
 
 
 
 
 
 
 
 | 21 | 
 + | 
     splitter_hex_2: TSplitter; | 
 
 
 
 
 
 
 
 
 | 22 | 
 + | 
     structviewer: TVirtualStringTree; | 
 
 
 
 
 
 
 
 
 | 23 | 
 + | 
     value_viewer_context: TPopupMenu; | 
 
 
 
 
 
 
 
 
 | 24 | 
 + | 
     value_viewer_context_copy: TMenuItem; | 
 
 
 
 
 
 
 
 
 | 25 | 
 + | 
     value_viewer_context_copyasdec: TMenuItem; | 
 
 
 
 
 
 
 
 
 | 26 | 
 + | 
     value_viewer_context_copyasfloat: TMenuItem; | 
 
 
 
 
 
 
 
 
 | 27 | 
 + | 
     value_viewer_context_copyasbitset: TMenuItem; | 
 
 
 
 
 
 
 
 
 | 28 | 
 + | 
     value_viewer_context_copyasstring: TMenuItem; | 
 
 
 
 
 
 
 
 
 | 29 | 
 + | 
     value_viewer_context_copyashex: TMenuItem; | 
 
 
 
 
 
 
 
 
 | 30 | 
 + | 
     VTHPopup: TVTHeaderPopupMenu; | 
 
 
 
 
 
 
 
 
 | 31 | 
 + | 
     btn_export: TButton; | 
 
 
 
 
 
 
 
 
 | 32 | 
 + | 
     btn_import: TButton; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 33 | 
   | 
     procedure FormCreate(Sender: TObject); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 34 | 
   | 
     procedure VSTInitChildren(Sender: TBaseVirtualTree; Node: PVirtualNode; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 35 | 
   | 
       var ChildCount: Cardinal); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 45 | 
   | 
       const TargetCanvas: TCanvas; Node: PVirtualNode; Column: TColumnIndex; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 46 | 
   | 
       TextType: TVSTTextType); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 47 | 
   | 
   private | 
 
 
 
 
 
 
 
 
 | 48 | 
 + | 
     root: TTreeElement; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 49 | 
   | 
     procedure NewCon(ID: Integer); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 50 | 
   | 
   public | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 51 | 
   | 
   end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 53 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 54 | 
   | 
 implementation | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 55 | 
   | 
 {$R *.dfm} | 
 
 
 
 
 
 
 
 
 
 
 
 | 56 | 
 < | 
 uses _MetaManager, _FileTypes, Data; | 
 
 
 
 
 
 
 
 
 
 | 56 | 
 > | 
 uses _MetaManager, _MetaTypes, ConnectionManager, Data, _FileTypes; | 
 
 
 
 
 
 
 
 
 
 
 
 | 57 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 58 | 
   | 
 type | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 59 | 
   | 
   PNodeData = ^TNodeData; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 60 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 61 | 
   | 
   TNodeData = record | 
 
 
 
 
 
 
 
 
 
 
 
 | 62 | 
 < | 
     Field: TObject; | 
 
 
 
 
 
 
 
 
 
 | 62 | 
 > | 
     Field: TTreeElement; | 
 
 
 
 
 
 
 
 
 
 
 
 | 63 | 
   | 
   end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 64 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 65 | 
   | 
 function AddVSTEntry(AVST: TCustomVirtualStringTree; ANode: PVirtualNode; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 76 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 77 | 
   | 
 procedure TForm_Meta.NewCon(ID: Integer); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 78 | 
   | 
 var | 
 
 
 
 
 
 
 
 
 
 | 59 | 
 – | 
   a,b,c: Int64; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 79 | 
   | 
   i: Integer; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 80 | 
   | 
   data: TNodeData; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 81 | 
   | 
   node: PVirtualNode; | 
 
 
 
 
 
 
 
 
 | 82 | 
 + | 
   Meta: TMetaManager; | 
 
 
 
 
 
 
 
 
 | 83 | 
 + | 
   root: TTreeElement; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 84 | 
   | 
 begin | 
 
 
 
 
 
 
 
 
 
 | 64 | 
 – | 
 { | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 85 | 
   | 
   if ID >= 0 then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 86 | 
   | 
   begin | 
 
 
 
 
 
 
 
 
 
 
 
 | 87 | 
 < | 
     QueryPerformanceFrequency(c); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 68 | 
 < | 
     QueryPerformanceCounter(a); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 69 | 
 < | 
     if not Assigned(Meta) then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 70 | 
 < | 
       Meta := TMetaManager.Create(ID, Self); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 71 | 
 < | 
     QueryPerformanceCounter(b); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 72 | 
 < | 
     ShowMessage('Loading Done - ' + FloatToStr((b-a)/c) + 's'); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 73 | 
 < | 
  | 
 
 
 
 
 
 
 
 
 
 | 87 | 
 > | 
     //VST | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 88 | 
   | 
     VST.Clear; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 89 | 
   | 
     VST.BeginUpdate; | 
 
 
 
 
 
 
 
 
 
 
 
 | 90 | 
 < | 
     for i := 0 to Meta.FileCount - 1 do | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 90 | 
 > | 
     root := ConManager.Connection[FConnectionID].MetaData.Root; | 
 
 
 
 
 
 | 91 | 
 > | 
     for i := 0 to root.ChildCount - 1 do | 
 
 
 
 
 
 
 
 
 
 
 
 | 92 | 
   | 
     begin | 
 
 
 
 
 
 
 
 
 
 
 
 | 93 | 
 < | 
       if Assigned(Meta.FileById[i]) then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 94 | 
 < | 
       begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 95 | 
 < | 
         data.Field := Meta.FileById[i]; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 81 | 
 < | 
         node := AddVSTEntry(VST, nil, data); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 82 | 
 < | 
         if Meta.FileById[i].ChildCount > 0 then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 83 | 
 < | 
           VST.HasChildren[node] := True; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 84 | 
 < | 
       end; | 
 
 
 
 
 
 
 
 
 
 | 93 | 
 > | 
       data.Field := root.Child[i]; | 
 
 
 
 
 
 | 94 | 
 > | 
       node := AddVSTEntry(VST, nil, data); | 
 
 
 
 
 
 | 95 | 
 > | 
       VST.HasChildren[node] := True; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 96 | 
   | 
     end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 97 | 
   | 
     VST.EndUpdate; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 98 | 
   | 
   end; | 
 
 
 
 
 
 
 
 
 
 | 88 | 
 – | 
 } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 99 | 
   | 
 end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 100 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 101 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 106 | 
   | 
   newdata: TNodeData; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 107 | 
   | 
   newnode: PVirtualNode; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 108 | 
   | 
   i: Integer; | 
 
 
 
 
 
 
 
 
 
 
 
 | 109 | 
 < | 
   id: Integer; | 
 
 
 
 
 
 
 
 
 
 | 109 | 
 > | 
   Meta: TMetaManager; | 
 
 
 
 
 
 
 
 
 
 
 
 | 110 | 
   | 
 begin | 
 
 
 
 
 
 
 
 
 
 
 
 | 111 | 
 < | 
 { | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 112 | 
 < | 
   data := VST.GetNodeData(node); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 113 | 
 < | 
   for i := 0 to Meta.FileById[TFile(data.Field).FileID].ChildCount - 1 do | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 114 | 
 < | 
   begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 115 | 
 < | 
     id := Meta.FileById[TFile(data.Field).FileID].LinkByIndex[i].DestID; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 116 | 
 < | 
     Meta.InitFile(id); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 117 | 
 < | 
     newdata.Field := Meta.FileById[id]; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 118 | 
 < | 
     newnode := AddVSTEntry(VST, Node, newdata); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 119 | 
 < | 
     if Meta.FileById[id].ChildCount > 0 then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 120 | 
 < | 
       VST.HasChildren[newnode] := True; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 111 | 
 > | 
   data := Sender.GetNodeData(node); | 
 
 
 
 
 
 | 112 | 
 > | 
   Meta := ConManager.Connection[ConnectionID].MetaData; | 
 
 
 
 
 
 | 113 | 
 > | 
   if data.Field is TExtension then | 
 
 
 
 
 
 | 114 | 
 > | 
     if TExtension(data.Field).ChildCount = 0 then | 
 
 
 
 
 
 | 115 | 
 > | 
       TExtension(data.Field).InitList; | 
 
 
 
 
 
 | 116 | 
 > | 
  | 
 
 
 
 
 
 | 117 | 
 > | 
   if data.Field.ChildCount > 0 then | 
 
 
 
 
 
 | 118 | 
 > | 
   begin | 
 
 
 
 
 
 | 119 | 
 > | 
     for i := 0 to data.Field.ChildCount - 1 do | 
 
 
 
 
 
 | 120 | 
 > | 
     begin | 
 
 
 
 
 
 | 121 | 
 > | 
       newdata.Field := data.Field.Child[i]; | 
 
 
 
 
 
 | 122 | 
 > | 
       newnode := AddVSTEntry(TCustomVirtualStringTree(Sender), Node, newdata); | 
 
 
 
 
 
 | 123 | 
 > | 
       if newdata.Field.ChildCount > 0 then | 
 
 
 
 
 
 | 124 | 
 > | 
         Sender.HasChildren[newnode] := True; | 
 
 
 
 
 
 | 125 | 
 > | 
     end; | 
 
 
 
 
 
 
 
 
 
 
 
 | 126 | 
   | 
   end; | 
 
 
 
 
 
 
 
 
 
 
 
 | 127 | 
 < | 
   ChildCount := Meta.FileById[TFile(data.Field).FileID].ChildCount; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 113 | 
 < | 
 } | 
 
 
 
 
 
 
 
 
 
 | 127 | 
 > | 
   ChildCount := Sender.ChildCount[Node]; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 128 | 
   | 
 end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 129 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 130 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 139 | 
   | 
     TFile(data.Field).InitEditor; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 140 | 
   | 
     if Assigned(TFile(data.Field).Editor) then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 141 | 
   | 
     begin | 
 
 
 
 
 
 
 
 
 
 
 
 | 142 | 
 < | 
       panel2.InsertControl(TFile(data.Field).Editor); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 142 | 
 > | 
       TFile(data.Field).Editor.Align := alClient; | 
 
 
 
 
 
 | 143 | 
 > | 
       tab_meta.InsertControl(TFile(data.Field).Editor); | 
 
 
 
 
 
 
 
 
 
 
 
 | 144 | 
   | 
       TFile(data.Field).Opened := True; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 145 | 
   | 
     end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 146 | 
   | 
   end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 170 | 
   | 
     begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 171 | 
   | 
       if TFile(data.Field).Opened then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 172 | 
   | 
       begin | 
 
 
 
 
 
 
 
 
 
 
 
 | 173 | 
 < | 
         if panel2.ControlCount > 0 then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 174 | 
 < | 
           for i := 0 to panel2.ControlCount - 1 do | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 175 | 
 < | 
             panel2.RemoveControl(panel2.Controls[i]); | 
 
 
 
 
 
 
 
 
 
 | 173 | 
 > | 
         if tab_meta.ControlCount > 0 then | 
 
 
 
 
 
 | 174 | 
 > | 
           for i := 0 to tab_meta.ControlCount - 1 do | 
 
 
 
 
 
 | 175 | 
 > | 
             tab_meta.RemoveControl(tab_meta.Controls[i]); | 
 
 
 
 
 
 
 
 
 
 
 
 | 176 | 
   | 
         TFile(data.Field).Opened := False; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 177 | 
   | 
       end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 178 | 
   | 
     end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 192 | 
   | 
     case Column of | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 193 | 
   | 
       0: | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 194 | 
   | 
         begin | 
 
 
 
 
 
 
 
 
 
 
 
 | 195 | 
 < | 
           if Data.Field is TFile then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 181 | 
 < | 
           begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 182 | 
 < | 
             CellText := TFile(Data.Field).FileName; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 183 | 
 < | 
             if CellText = '' then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 184 | 
 < | 
               CellText := 'Unnamed'; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 185 | 
 < | 
           end; | 
 
 
 
 
 
 
 
 
 
 | 195 | 
 > | 
           CellText := Data.Field.GetCaption; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 196 | 
   | 
         end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 197 | 
   | 
       1: | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 198 | 
   | 
         begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 199 | 
   | 
           if Data.Field is TFile then | 
 
 
 
 
 
 
 
 
 
 
 
 | 200 | 
 < | 
             CellText := TFile(Data.Field).FileExt; | 
 
 
 
 
 
 
 
 
 
 | 200 | 
 > | 
             CellText := TFile(Data.Field).FileInfo.Extension; | 
 
 
 
 
 
 
 
 
 
 
 
 | 201 | 
   | 
         end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 202 | 
   | 
       2: | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 203 | 
   | 
         begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 204 | 
   | 
           if Data.Field is TFile then | 
 
 
 
 
 
 
 
 
 
 
 
 | 205 | 
 < | 
             CellText := IntToStr(TFile(Data.Field).FileID); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 205 | 
 > | 
             CellText := IntToStr(TFile(Data.Field).FileInfo.ID); | 
 
 
 
 
 
 | 206 | 
 > | 
         end; | 
 
 
 
 
 
 | 207 | 
 > | 
       3: | 
 
 
 
 
 
 | 208 | 
 > | 
         begin | 
 
 
 
 
 
 | 209 | 
 > | 
           if Data.Field is TDataField then | 
 
 
 
 
 
 | 210 | 
 > | 
             CellText := TDataField(Data.Field).ValueAsString; | 
 
 
 
 
 
 
 
 
 
 
 
 | 211 | 
   | 
         end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 212 | 
   | 
     end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 213 | 
   | 
   end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 228 | 
   | 
         begin | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 229 | 
   | 
           if Data.Field is TFile then | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 230 | 
   | 
           begin | 
 
 
 
 
 
 
 
 
 
 
 
 | 231 | 
 < | 
             if Length(TFile(Data.Field).FileName) = 0 then | 
 
 
 
 
 
 
 
 
 
 | 231 | 
 > | 
             if Length(TFile(Data.Field).FileInfo.Name) = 0 then | 
 
 
 
 
 
 
 
 
 
 
 
 | 232 | 
   | 
               TargetCanvas.Font.Color := $C06060; | 
 
 
 
 
 
 
 
 
 
 
 
 | 233 | 
 < | 
             if TFile(Data.Field).FileSize = 0 then | 
 
 
 
 
 
 
 
 
 
 | 233 | 
 > | 
             if TFile(Data.Field).FileInfo.Size = 0 then | 
 
 
 
 
 
 
 
 
 
 
 
 | 234 | 
   | 
               TargetCanvas.Font.Color := $2020A0; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 235 | 
   | 
           end; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 236 | 
   | 
         end; |