Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I fire a method for all instances of a class.
Message
De
11/04/2003 16:54:10
 
 
À
11/04/2003 16:37:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00776786
Message ID:
00776793
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
>using the setall() method of a form you can set a property for every instance of a class on the form.
>
>Is there a method similarly that could be used to fire a method for every intance of a class.
>
>myfireall('click()','txtbox')
>
>or perhaps a better way.
>
>I have 20 combo boxes on a form. There is a custom method in each combobox that I need to fire. I know I can code each one individually, but thought there might be a cleaner way to do it.

Change a property that has an _ASSIGN method set up for it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform