Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Form Template Class
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00734894
Message ID:
00734899
Views:
17
This message has been marked as the solution to the initial question of the thread.
>working on 19 projects at once and jumping from one to the next, I have to continually set the Form Template Class in the Options set dialog based on what project I am in.
>
>Would like to find a way that this could be done programmically. I would appreciate if anyone can steer me in the right direction!
>
>Thanks in advance

This information is stored in the Registry. You could modify it using the registry class that comes with VFP in the FFC folder.

The main hive to look in is:

HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\x.0\Options where x is the version number. You'll need to change two entries in that hive: FormsClass (where you enter the class name of the form) and FormsLib (where you enter the fully qualified path to the class library).
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform