Re: getProp and passing values

2022-05-03 Thread Bob Sneidar via use-livecode
NVM I figured it out (again). Given that lGridDataA is a script local containing an array of all the datagrid arrays: The getProp handler needs to be written like this: getProp maingriddata [pKey] if pKey is not empty then return lGridDataA [pKey] else return lGridDataA end

getProp and passing values

2022-05-03 Thread Bob Sneidar via use-livecode
Hi all. I seem to recall the ability to define a virtual custom property in such a way that I could for example code: put the maingriddata ["customers"] of card "Main" into tCustomersA As is I cannot pass args to a getprop handler. I can only pass args to a setProp handler. Any ideas? I