Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Method code at runtime??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00114464
Message ID:
00114496
Vues:
33
>>Changing Method Code of an object at run time is not possible. However, why not create a custom method and control what portion of the code to be executed by passing parameters
>
>Hi Jess,
>
>This is the situation:
>
>We want to use code written by an end-user in the refresh() event of an object. We therefore need to read the code from somewhere, ie a memo field, and 'put' this code to work in the objects event.

Hi Klas,

If you are thinking of making customizable form designing for end-users then
you can use SAVEASCLASS method. You need to create a template class and design
sample GUI to let the user define there methods,objects etc.

The following commands may be useful for you.
RENAME CLASS
REMOVE CLASS
ACLASS

Bye
Jayesh
- Jayesh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform