Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedures in forms?
Message
De
07/10/2004 14:23:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00949667
Message ID:
00949670
Vues:
16
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform