Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating and using custom methods runtime
Message
De
11/06/1999 09:39:45
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
10/06/1999 07:13:47
Wim Dieke
Tranquility Bv
Almere, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00228291
Message ID:
00228734
Vues:
15
>Hi All,
>
>This is the case: I want to create a form with controls and custom methods from a table runtime. I was thinking of the following steps:
>1) create a custom form class with custom methods (empty methods)
>2) create a object from this class
>3) use the writemethod to add code to the custom methods
>4) add controls to the form object
>
>Could such a strategy work? or has anyone tried this before? The general idea behind this is that we can dynamicly change the application by distributing a new table with updated methods etc.

You can't compile your forms like this, and writemethod works at design time only.
You may keep your .scx files out of your project (excluded), and distribute them along with your .exe (not inside the .exe). So when the time comes, you simply redistribute them - they're also tables, so your overhead doesn't change much.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform