Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP backup of a FORM while in design mode, such as *.bak
Message
 
To
12/03/2005 21:51:47
Freddie Rodrigues
Bitrun Business Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00995232
Message ID:
00995814
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
Hi Freddie,

what about using a project hook to make a copy of the form before you let VFP modify it? You could add code like this to the QueryModifyFile event and then attach the project hook to the project:
LPARAMETERS oFile, cClassName

  If m.oFile.Type == "K"
    Copy File (m.oFile.Name) To (m.oFile.Name+".bak")
    Copy File ForceExt(m.oFile.Name,"SCT") To ForceExt(m.oFile.Name,"SCT.bak")
  Endif
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform