Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Method code at runtime??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00114464
Message ID:
00114496
Views:
32
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform