Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding code programmatically
Message
De
11/10/2004 06:55:19
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Adding code programmatically
Divers
Thread ID:
00950358
Message ID:
00950358
Vues:
63
Is it possible to add programmatically code in an Object event ?
I'm trying to add a form containing a grid to a form set object, what i'd need to do is to manage the grid afterrowcolchange event adding code to it on fly. Actually i put a property in a form (the form i'm going to add), in which i store the command to execute (i.e. Thisformest.MyProcedure(ListOfParam) ) and i execute by this code i store in the AfterRowCoChange of the grid

If !empty(thisform.property)
strcom = thisform.property
&strcom
endif

It works but in this way I can manage only a limited number of events.
Any Idea ?
I Hope I have explained the problem clearly !!

Alessio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform