Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating and using custom methods runtime
Message
From
11/06/1999 09:39:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
10/06/1999 07:13:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00228291
Message ID:
00228734
Views:
17
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform