dynamic scripts at runtime
sarahr at genesearch.com.au
Sun Jun 20 17:09:12 CDT 2004
While I would recommend the suggested method of using stack scripts,
you could also make a field in advance and have it hidden somewhere in
your stack. This template field would already have the scripts you
wanted. When you need a new one, you can clone this hidden template,
rather than creating a new object from scratch.
On 19 Jun 2004, at 4:39 am, RGould8 at aol.com wrote:
> I've got an app that needs to be able to generate fields dynamically
> compiled as a standalone application. I also need to be able to
> assign scripts
> to those newly created fields.
> The emails I've read make it sound like this is not possible, if the
> exceeds 10 commands (which mine does.) What's the work-around? My
> script is
> stored in a text field on the card, and I was doing a
> set the script of field newFieldID to field "masterscript"
> I did read a posting about preparing a "library control" in the RunREV
> and cloning it during runtime, but I don't understand what that means.
> someone has a script that performs such a feat, I'd love to see it.
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode