Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
> Foxpro Debugger does not show all the levels of this object, and it was mostly by chance that I found references in some online documentation. How anyone gets through this stuff is amazing to me.
The debugger can often not drill down the properties of subobjects, thats true.
The same goes for Intellisense.
What often helps is to create a new root for VFP by setting up a new variable:
oSub = oSomething.Somesubobject, eg
oAck = oXMLDoc.documentElement.getElementsByTagName('ack')
The reason here is, getElementsByTagName('ack') returns an object but itself is a method, so intellisense cannot drill down to what will be the result of the call. Once you make that call and got that object oAck, the debugger or intellisense can drill down on it's properties again.
What helps with item-Collections is a For Each loop over the collection.
Bye, Olaf.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only