Recent

Author Topic: TShellTreeView for files ?  (Read 1165 times)

scons

  • Full Member
  • ***
  • Posts: 139
TShellTreeView for files ?
« on: September 17, 2016, 11:34:53 am »
Hi

I am looking for something like a TShellTreeView, but then to display the inside of a file. A vrml 2.0 file to be more exact.

This is a part of the file:

Code: Text  [Select][+][-]
  1.    geometry DEF 205_205_PL150x8_S235JR__ IndexedFaceSet {
  2.     coord Coordinate {
  3.       point [
  4. 2490.85 67.15 1240,
  5. 2490.85 67.15 1090,
  6. 267.57 67.15 1090,
  7. 267.57 67.15 1240,
  8. 2490.85 59.15 1090,
  9. 2490.85 59.15 1240,
  10. 267.57 59.15 1240,
  11. 267.57 59.15 1090]
  12.     }
  13.     coordIndex [
  14. 0,1,2,3,-1
  15. 4,5,6,7,-1
  16. 1,4,7,2,-1
  17. 0,3,6,5,-1
  18. 0,5,4,1,-1
  19. 2,7,6,3,-1
  20.     ]
  21.    solid TRUE
  22.    }#face
  23.   } ]#shape
  24.  }#transform
  25.  Transform {
  26.   children [ Shape {
  27.    appearance Appearance {
  28.     material Material {diffuseColor 0.82 0.57 0.46}
  29.    }

The selection should be based on first nr and then second nr (205_205).

I think the it should read the whole file first and then show the three. But TShellTreeView is based on Folders.

Is there somewhere an example on how to achieve this ?

Thanks
Windows 10-64bit Lazarus 1.8.4 + FPC 3.0.4

 

TinyPortal © 2005-2018