Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Versions des environnements
> 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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement