Datagrids and Nested Behaviors
brian at milby7.com
Tue Jul 24 07:12:18 CEST 2018
Here is my slight modification to the suggestion:
private function _ResourceStack
local theStack, theCharNo
if sResourceStack is empty then
put the behavior of me into theStack
if trueWord -1 of theStack is "revDataGridLibrary" or theStack is
put the behavior of theStack into theStack
if theStack is not empty then
put offset(" of stack", theStack) into theCharNo
delete char 1 to (theCharNo + 3) of theStack
put theStack into sResourceStack
I also noticed that there are extra "stack" references in the code (stack
_ResourceStack instead of just _ResourceStack 4/10 uses).
On Mon, Jul 23, 2018 at 6:53 PM, Brian Milby <brian at milby7.com> wrote:
> What OS are you using? It will be inside the IDE, but will get copied into
> your app as well. You will probably need admin rights to edit. I would do
> it in an external editor too.
> It probably would be an enhancement request (therefore 9.1), but I would
> be happy to submit a PR against a BZ report.
> On Jul 23, 2018, 6:04 PM -0500, Bob Sneidar via use-livecode <
> use-livecode at lists.runrev.com>, wrote:
> I found and made a copy of the datagrid library stack on my desktop. I
> still cannot save the modification you proposed to the script of the
> datagrid button in this stack. It says it can't open stack script file.
> Well my workaround is functional, so I'm sticking with that. If the devs
> want to take your patch and bundle it in with the next release that would
> be great. I have no idea how to make that happen.
> Bob S
> On Jul 23, 2018, at 15:46 , Bob Sneidar via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> I tried this, I apparently don't have permission to save the file once
> edited. It's probably in the Livecode APP bundle. I'll poke around and test
> this later.
> Bob S
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode