Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding code to every form/WriteMethod
Message
From
26/03/1998 13:32:05
 
 
To
26/03/1998 13:17:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00087353
Message ID:
00087387
Views:
38
>OIC....sorry...I didn't understand the 'already written' part. And I'll have to get back with you on the exact use of WriteMethod ...that code is at home and I'm at work. Meanwhile, lemme work on this problem abit and I'll post again.


OK, forget what I said about WriteMethod...I was thinking of WriteExpression. Meanwhile, The answer may be to write a little program that opens up each form's SCX file as a table, searches the Methods field for "PROCEDURE Init" and then inserts a "DODEFAULT()" after PROCEDURE Init...but that's way tricky.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform