Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Function for the Caption.
Message
De
28/04/2005 05:51:58
 
 
À
28/04/2005 04:32:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01009125
Message ID:
01009138
Vues:
19
Courtesy of David Frankenbach, I've written a class that will iterate through a form's objects and write every object that has a caption property to an ini file.

When the form loads it checks for the form's name in the ini file and uses the captions.

All you have to do is drop it on the form, add
* Form init
This.oCaptions.SetCaptions
This.oCaptions.GetCaptions
Run your form(s), and translate what's been written to the ini file.

It's crude, you can refine it with writng to tables and checking for the existence of records a.s.o, but it works.

If you are interessted, I'd be happy to mail it to you.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform