Changeset 243 for oup/current/Tools
- Timestamp:
- Aug 10, 2007, 7:26:03 PM (17 years ago)
- Location:
- oup/current/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Tools/MetaEditor.dfm
r241 r243 85 85 object tab_hex: TTabSheet 86 86 Caption = 'Binary Edit' 87 ExplicitLeft = 0 88 ExplicitTop = 0 89 ExplicitWidth = 0 90 ExplicitHeight = 0 87 91 object splitter_hex_1: TSplitter 88 92 Left = 0 -
oup/current/Tools/MetaEditor.pas
r242 r243 264 264 i: Integer; 265 265 links: TStrings; 266 ifile: TFile; 266 267 begin 267 268 inherited; … … 279 280 end; 280 281 end; 281 if (data.Field is _MetaTypes.TDatLink) and (Column = 2)then282 if data.Field is TFile then 282 283 begin 283 links := nil; 284 links := ConManager.Connection[FConnectionID].GetFilesList(_MetaTypes.TDatLink(data.Field).PosExts, '', False, ST_NameAsc); 285 HintText := IntToStr(links.Count); 286 for i := 0 to Min(links.Count - 1, 99) do 287 begin 288 if (i mod 5) = 0 then 289 HintText := HintText + #13+#10; 290 HintText := HintText + links.Strings[i] + ' '; 284 ifile := TFile(data.Field); 285 case Column of 286 0: HintText := 287 'FileID: ' + IntToStr(ifile.FileInfo.ID) + #13#10 + 288 'Name: ' + ifile.FileInfo.Name + #13#10 + 289 'Extension: ' + ifile.FileInfo.Extension + #13#10 + 290 '.dat-size: ' + IntToStr(ifile.FileInfo.Size) + #13#10; 291 291 end; 292 292 end;
Note:
See TracChangeset
for help on using the changeset viewer.