Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement