Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating VFP 6.0
Message
De
04/05/2000 15:21:05
Robert Zinn
Made2Manage Systems, Inc.
Indianapolis, Indiana, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Automating VFP 6.0
Divers
Thread ID:
00366269
Message ID:
00366269
Vues:
51
I am attempting to control VFP 6.0 via Automation (I'm doing this from within a VFP 6.0 application which seems to work well enough), but I'm having a very difficult time determining how to automate many events in VFP. The documentation provided for the VFP Application Object Model seems pretty superficial and there aren't many examples.

If I were automating an MS-Office product, I would probably just record a macro to do what I want. Then I could call that macro from my application (or review how the macro did it and add similar code to my application).

The macro recorder in VFP will only record keystrokes. Is there a tool that will allow me to record macros in VFP for actions performed with a mouse?

Is there somewhere I can find more detailed documentation about the VFP Object Model and how to control VFP 6.0 via Automation?

Here's an example of one of the things I'm trying to do: I open VFP 6.0 via automation and issue a MODIFY FORM ... to edit an existing form. The form opens properly, but the Form Controls Toolbar displays the "Standard" controls. I want the Form Controls Toolbar to display a class. When I "View Classes", my class is there, and I can manually select it. But I want to be able to automate VFP so that my class will be selected immediately without manual intervention. I have no idea how to automate this action.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform