Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New Toy for IE5
Message
De
14/02/2000 12:23:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00331432
Message ID:
00331785
Vues:
17
>>My interface idea was actually quite similar- collection based, expandable, etc. It's not operational yet beyond the first level of collections, because I was having trouble with some of the conditional recursion (some objects are both containers and final objects). Also, I was having difficulty figuring out a way to store an identifier in a table that could be used to reference the object after the initial walk. Anyway, I'm going to spend a little more time with the tool that Ed pointed out, and decide if it's worth spending any more time on mine. As it stands, it won't teach you anything you don't already know...
>
>Well, if you decide to finish it, let me know. I was actually toying with this myself. I have a screen that lets you surf to a website and then puts all the links in a grid, but because of the IE object model's crazy heirarchy, didn't go much further either. Even so, I think it would be nice to have a tool that let you navigate to a page, then reveal all the frames, tags, links, etc. from within VFP.

I've been playing around a bit, and observed the things that I liked better about the IE tool over what I had planned. Firstly, I had planned to show object hierarchy in a treeview control, but then show key properties in fields to the right of the treeview. The problem is, how to decide what properties are key. The IE tool handles this nicely- it shows all of them. So great, I thought, I'll do the same, just show the names and values for the properties of all objects in the treeview by displaying them in a grid: one record for each name/value pair. Looking at the JavaScript code in the IE tool, I learned that it uses the JS FOR..IN statement to iterate through all properties and members in any given object. That's cool, I can do the same thing in VFP with AMEMBERS(). But you probably know what I ran into next with this line of thought- VFP doesn't divulge PEMs of objects through the COM interface, only the ones that have been accessed, or under very particular (peculiar) conditions (Ed, Dave, remember that one with Nancy about a year ago?).

So I'm stuck. I think that a tool that only allows access to a predetermined set of properties would be crippled, but I can't use VFP to extract the rest of them.

Now, I suppose I could use VFP to insert script into the page, and have the script do the walking for me, and then check out the results with VFP, but that would be too hard. :-)

Anybody have any ideas?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform