Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can you use commands at design time?
Message
From
13/02/1997 09:17:54
Paul Wei
Fib, State of Michigan
Lansing, Michigan, United States
 
 
To
13/02/1997 04:25:27
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00020219
Message ID:
00020357
Views:
52
>>There is nothing to stop you from creating, modifying, and saving an object from withing a code segment.
>
>Apart from the fact that you can't use WriteMethod while your program is running - ONLY while the class or form designer is running.
>
>> So while you are doing this, you can call, from within your codes, the object's WriteMethod, WriteExpression methods to modify methods and properties.
>
>To modify a property, you just change its value.
>
>
>> Then you can save the object by using it's SaveAs or SaveAsClass methods. After saving this object, you can then turn around and instantiate it.
>
>But not in a runtime environment, from a .APP or .EXE because there is no way to COMPILE the code you have just written.


Good points.

Paul
Previous
Reply
Map
View

Click here to load this message in the networking platform