Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding code to every form/WriteMethod
Message
From
26/03/1998 13:12:05
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
To
26/03/1998 13:07:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00087353
Message ID:
00087373
Views:
29
>>I added some code to the Init method of my form class and now I want to make sure this code is executed for all forms. The hard way would be to open up every form and add a DODEFAULT() to every Init method that has other code. Is there an easier way? Can I use WriteMethod to do this? What exactly does WriteMethod do and how is it used at design time?
>
>
>I don't see where WriteMethod would help. If you're adding code to a Forms Init method anyway, what's the big deal about DODEFAULT()?
>
>The only place I've used WriteMethod is when creating Builders...I can't recall ever using it in a regular business app.

The big deal is that the forms are already written and I'm not adding code "anyway." I don't want to have to open up each form just to add a DODEFAULT(). How did you use WriteMethod in your Builders?
Elyse Pomerantz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform