Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a Function for the Caption.
Message
From
28/04/2005 05:51:58
 
 
To
28/04/2005 04:32:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01009125
Message ID:
01009138
Views:
17
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform