Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedures in forms?
Message
From
07/10/2004 14:30:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00949667
Message ID:
00949673
Views:
9
Jim,

Sure, just add a method, put your code in it, and then call that method.

Regards,
Jim

>Can you program procedures or something like procedures in forms? I often have code that is structured like "Thisform.Object.Value = ...." and you can't place them in procedures in the main program, but I have big chunks of code that I use in several buttons on the form. To make a change in the code requires making the change in all the buttons that have the same code. Is there a way to code it once somewhere in the form and have any object on the form access it?
>
>Tired of changing the same code many times!
>Colombo.
Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform