Re: Can't add substack

2020-01-21 Thread Bob Sneidar via use-livecode
I should have said CUT the datagrid. Bob S > On Jan 21, 2020, at 09:19 , Bob Sneidar via use-livecode > wrote: > > Thanks Richard. Like I mentioned, I deleted the datagrid (thankfully there > was only one) and it's template, set the mainStack of the (soon to be) sub > stack, then pasted

Re: Can't add substack

2020-01-21 Thread Bob Sneidar via use-livecode
Thanks Richard. Like I mentioned, I deleted the datagrid (thankfully there was only one) and it's template, set the mainStack of the (soon to be) sub stack, then pasted the datagrid. But this should be fairly easy to account for in whatever routine that makes an independent stack a substack of

Re: Can't add substack

2020-01-17 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Further, when I try this from the message box, I get: > > Message execution error: > Error description: Stack: can't set mainStack (has substacks?) > Hint: > > I get the substacks of Time Calculator, and the onlt substack it is > using is it's own Data Grid Templates. Move

Re: Can't add substack

2020-01-17 Thread Paul Dupuis via use-livecode
On 1/17/2020 3:36 PM, Mark Wieder via use-livecode wrote: It has ever been thus. Substacks can't have substacks. It's an unfortunate feature of the architecture and would require some er... fixing... to change that. This is one enhancement - allowing nested stacks - that I would very much

Re: Can't add substack

2020-01-17 Thread Mark Wieder via use-livecode
On 1/17/20 11:50 AM, Klaus major-k via use-livecode wrote: Hi Bob, Am 17.01.2020 um 20:47 schrieb Bob Sneidar via use-livecode : yes, but that would mean anyone who has added a datagrid to a stack wil not be able to make another stack it's mainStack! true. That can't be the expected

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
Also of note, as I just discovered to my chagrin, is that a substack cannot have it's own stackFiles. That means any behaviors in the independent stack have to be reassociated once it becomes a sub stack. So I think those who intend to create substacks need to take all this into account. The

Re: Can't add substack

2020-01-17 Thread Klaus major-k via use-livecode
Hi Bob, > Am 17.01.2020 um 20:47 schrieb Bob Sneidar via use-livecode > : > > yes, but that would mean anyone who has added a datagrid to a stack wil not > be able to make another stack it's mainStack! true. > That can't be the expected behavior. It is for me. :-) But let the mothership

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
yes, but that would mean anyone who has added a datagrid to a stack wil not be able to make another stack it's mainStack! That can't be the expected behavior. Bob S > On Jan 17, 2020, at 11:45 , Klaus major-k via use-livecode > wrote: > > Hi Bob, > >> Am 17.01.2020 um 20:40 schrieb Bob

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
Okay, I tricked it. I cut the datagrid, deleted the template when it asked, set the mainStack property, and pasted the datagrid. Still, how odd? If this is not happening to anyone else, it is possible that my customization to the datagrid library that allows for cascading behaviors might be

Re: Can't add substack

2020-01-17 Thread Klaus major-k via use-livecode
Hi Bob, > Am 17.01.2020 um 20:40 schrieb Bob Sneidar via use-livecode > : > > Further, when I try this from the message box, I get: > > Message execution error: > Error description: Stack: can't set mainStack (has substacks?) > Hint: > I get the substacks of Time Calculator, and the onlt

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
Further, when I try this from the message box, I get: Message execution error: Error description: Stack: can't set mainStack (has substacks?) Hint: I get the substacks of Time Calculator, and the onlt substack it is using is it's own Data Grid Templates. Bob S > On Jan 17, 2020, at 11:37 ,

Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
Hi all. I have 2 stacks open: Forms Generator and Time Calculator. I get the properties of stack Time Calculator and set the Main Stack property to Forms Generator. I save both stacks. I check the properties again, it didn't take. Ideas?? Bob S