Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can you use commands at design time?
Message
De
13/02/1997 09:17:54
Paul Wei
Fib, State of Michigan
Lansing, Michigan, États-Unis
 
 
À
13/02/1997 04:25:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00020219
Message ID:
00020357
Vues:
48
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform