DOM innerHTML equivalent ?
Bob Sneidar
bobsneidar at iotecdigital.com
Wed Oct 16 10:54:23 EDT 2024
Group them then store the group as an array, but placing them won’t be any faster methinks. You can also arrayEncode the array first if you need it in a serialized format.
Bob S
> On Oct 16, 2024, at 7:19 AM, jbv via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Hi list,
>
> Is there a way to catch all controls on a card
> (for instance) with all their properties and
> values, and store them in a variable, like
> innerHML for a DOM element, and have all these
> controls displayed later very fast and in one go ?
>
> I hope I made myself clear.
> I tried several things, like storing all properties
> and values as text in a variable and then recreating
> all controls (quire slow), or duplicate the controls
> on a hidden card or another stack, but nothing is as
> easy as what is available i the DOM.
>
> Thank you in advance.
> jbv
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list