Re: DOM innerHTML equivalent ?

2024-10-16 Thread Bob Sneidar via use-livecode
I don’t know what I was thinking there. Bob S On Oct 16, 2024, at 8:53 AM, Craig Newman via use-livecode wrote: "Group them then store the group as an array," ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subs

Re: DOM innerHTML equivalent ?

2024-10-16 Thread Peter Bogdanoff via use-livecode
The ‘properties’ property will store all the available properties of an object into an array. From the dictionary: put the properties of field "My Field” into myArray put the keys of myArray Peter > On Oct 16, 2024, at 12:25 PM, Bob Sneidar via use-livecode > wrote: > > OIC I didn’t know he

Re: DOM innerHTML equivalent ?

2024-10-16 Thread Tom Glod via use-livecode
try "get the properties of" and "get the customproperties of" or you can just "put" them into an array. On Wed, Oct 16, 2024 at 12:26 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I > have men

Re: DOM innerHTML equivalent ?

2024-10-16 Thread Bob Sneidar via use-livecode
OIC I didn’t know he wanted to store the PROPERTIES of the objects. As I have mentioned before I have handlers that can collect the properties of objects and store them in a memory sqLite database. (You can specify a file as well.) But that is not going to help you *quickly* recreate the objects

Re: DOM innerHTML equivalent ?

2024-10-16 Thread Craig Newman via use-livecode
Hi. I am confused. As usual. "Group them then store the group as an array," I read the OP as wanting to gather all the information about all the controls, not the controls themselves. If so, then the”slow” part is to gather the data, which has to be done control-by-control, card-by-card and s

Re: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT?

2024-10-16 Thread Klaus major-k via use-livecode
Hi Bob, > Am 16.10.2024 um 16:52 schrieb Bob Sneidar via use-livecode > : > > Hi Klaus. > > Just for the sake of clarity, and because I probably have Aspergers, COMMANDS > and FUNCTIONS are BOTH HANDLERS. :-) OK, but e.g. time() is of TYPE: function mouseup is of TYPE: MESSAGE So this is at

Re: DOM innerHTML equivalent ?

2024-10-16 Thread Bob Sneidar via use-livecode
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 > wrote: > > Hi list, > > Is there a way to catch all contr

Re: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT?

2024-10-16 Thread Bob Sneidar via use-livecode
Hi Klaus. Just for the sake of clarity, and because I probably have Aspergers, COMMANDS and FUNCTIONS are BOTH HANDLERS. :-) Bob S On Oct 16, 2024, at 5:11 AM, Klaus major-k via use-livecode wrote: Is actually a FUNCTION and not a HANDLER as the dictionary states!?

DOM innerHTML equivalent ?

2024-10-16 Thread jbv via use-livecode
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, li

Re: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT?

2024-10-16 Thread Klaus major-k via use-livecode
Hi all, > Am 16.10.2024 um 13:47 schrieb Klaus major-k via use-livecode > : > ... > just found an LC lessons for adding icons and Panos advised to use 0 (ZERO) as > the codepoint if not using any "FontAwesome" icons. > > So I wrote: > ... > put the text of fld "path" into tPath > addicon("metron

Re: addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT?

2024-10-16 Thread Klaus major-k via use-livecode
Hi all, > Am 16.10.2024 um 13:39 schrieb Klaus major-k via use-livecode > : > > Hi all, > > I wanted to add a SCV icon, I have a name and the SVG PATH, > but what do I need to enter for the CODEPOINT? > > addIcon(pName,pSVG,pCodepoint) > > Thanks for any hint! just found an LC lessons for a

addIcon(pName,pSVG,pCodepoint) what is the CODEPOPINT?

2024-10-16 Thread Klaus major-k via use-livecode
Hi all, I wanted to add a SCV icon, I have a name and the SVG PATH, but what do I need to enter for the CODEPOINT? addIcon(pName,pSVG,pCodepoint) Thanks for any hint! Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de _