Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Procedures in forms?
Message
From
07/10/2004 14:23:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00949667
Message ID:
00949670
Views:
15
Hi,
You can put the code into a method on the form that you create, and from the different places on the form call that method.

HTH
Beth

>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform