I am trying to Access fields from a Type which I added to a list, after browsing the forums it doesnt look like anyone has asked about this.
Basically I have this type
Entity_List:TList = CreateList()
Type Entity
Field X#,Y#,Z#
Field Model
End Type
Creating the object I just do.
E.Entity = New Entity
E.X# = 10
E.Y# = 10
E.Z# = 10
Now I also have a ListBox which keeps track of the objects created so I can select them however when I select them I would like the XYZ info to be printed to text boxes so how do I extract those fields?
Basically I have this type
Entity_List:TList = CreateList()
Type Entity
Field X#,Y#,Z#
Field Model
End Type
Creating the object I just do.
E.Entity = New Entity
E.X# = 10
E.Y# = 10
E.Z# = 10
Now I also have a ListBox which keeps track of the objects created so I can select them however when I select them I would like the XYZ info to be printed to text boxes so how do I extract those fields?