>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.