Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Field-Mappings through code or configuration
Message
De
28/08/1997 21:02:07
Craig Mcclelland
Computer Fiscal Services
Sydney, Australie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00047247
Message ID:
00047464
Vues:
30
>>Thanks for the reply Barbara.
>>Just to clarify the question a little ... we are actually trying to change the mappings/classes used for the drag-and-drop in the form designer before the form is created rather than after the event.
>>Naturally we can go into the tools\options sheets and change the mappings there manually but we were hoping to automate that to make it easier to swap between projects (we are very lazy programmers).
>
>Craig, I did understand that you wanted to change the mappings not the form items. Looks like Darrell's RegEdit method might work for that. However, I've found that either dragging the fields from the correct library listing (in the PM) or 'hacking' the VCX is pretty fast, and quite reliable. I wrote a small PRG which looks at each field in turn, and replaces the library in CLassLoc to match the current project. It can be run multiple times as I add to or edit a form.
>
>HTH
>Barbara
Barbara,
Having thought about your suggestion a little more I do like it because it will probably be just as fast as changing the environment mappings and of course it allows us to fix things after "forgetting" to change the mappings when swapping between projects.
Thanks again.
Craig
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform