Re: Substacks

2022-05-29 Thread General 2018 via use-livecode
Hi Jacquline,

Think your question lead me to the issue.

For some reason on the stack that did not work I added the substack by opening 
the mainstack and substack and saving the substack into the mainstack somehow.

I started from new and added the substack by using the add stack file button 
within standalone settings and it worked fine.


Regards
Camm

> On 29 May 2022, at 17:27, J. Landman Gay via use-livecode 
>  wrote:
> 
> Just to clarify, are they real substacks or do you mean they are separate 
> stacks that you include in the build? Also, double check that standalone 
> settings isn't set up to move substacks into separate files. I think that 
> option is in the general pane but I'm not at my computer to check.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>> On May 29, 2022 6:05:08 AM General 2018 via use-livecode 
>>  wrote:
>> 
>> Still no luck, no closestack handler in “main stack” , tried the other 
>> suggestions with hide/show etc. But still “mainstack” quits on closing the 
>> “substack xyz”
>> 
>> Will keep looking……..
>> 
>> Regards
>> 
 On 29 May 2022, at 00:12, Mark Wieder via use-livecode 
  wrote:
>>> 
>>> On 5/28/22 07:15, General 2018 via use-livecode wrote:
 Hi ,
 New to substacks - I have a “mainstack” used as a menu page for 2x 
 “substacks”
 When “substacks” opened from “mainstack” they open fine using — go to 
 stack “xyz”
 The problem is closing of the “substacks” using - close stack, go to 
 “mainstack” or close this stack it always closes (quit) everything. Need 
 “mainstack” to reappear/remain ?
 Looked at docs and other posts. But stuck no doubt I have missed something.
>>> 
>>> Do you have a closeStack handler in the script of the mainstack?
>>> 
>>> 
>>> --
>>> Mark Wieder
>>> ahsoftw...@gmail.com
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Substacks

2022-05-29 Thread J. Landman Gay via use-livecode
Just to clarify, are they real substacks or do you mean they are separate 
stacks that you include in the build? Also, double check that standalone 
settings isn't set up to move substacks into separate files. I think that 
option is in the general pane but I'm not at my computer to check.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On May 29, 2022 6:05:08 AM General 2018 via use-livecode 
 wrote:


Still no luck, no closestack handler in “main stack” , tried the other 
suggestions with hide/show etc. But still “mainstack” quits on closing the 
“substack xyz”


Will keep looking……..

Regards

On 29 May 2022, at 00:12, Mark Wieder via use-livecode 
 wrote:


On 5/28/22 07:15, General 2018 via use-livecode wrote:

Hi ,
New to substacks - I have a “mainstack” used as a menu page for 2x “substacks”
When “substacks” opened from “mainstack” they open fine using — go to stack 
“xyz”
The problem is closing of the “substacks” using - close stack, go to 
“mainstack” or close this stack it always closes (quit) everything. Need 
“mainstack” to reappear/remain ?

Looked at docs and other posts. But stuck no doubt I have missed something.


Do you have a closeStack handler in the script of the mainstack?


--
Mark Wieder
ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Substacks

2022-05-29 Thread Jim At Consensus via use-livecode
At the risk of repeating someone else’s suggestion. I address this by have an 
on closeStsck handler in the main stack. I’m in my phone so don’t have access 
to code but it’s along the lines of:

On closeStack
If the short name of me is “” then closeStack
End closeStack

Works rely  as bay for me though variations could include “if name is not “xxx” 
then exit closeStsck

Will see which is correct when I get to my machine.

Good Luck. 

Jim

NOTE: This has worked reliably for years. I doubt something has changed but 
perhaps?

NOTE 2: To avoid the “mental pain” of not having something like this working, 
I’d recommend creating a new stack and sub stack combination just to trouble 
shoot the problem. I’d say 9 times out of 10, I can get the simple test to work 
which points me to some other issue I never would have discovered that ended up 
being the issue (like not remembering that before my closeStack was issued, i 
navigated back to the main stack by a go card “” of the main stack as part 
of my trying to figure out what was happening but the timing was such I never 
saw the transition.)




Sent from Jim's iPhone
Please excuse brevity, typos and errors

> On May 29, 2022, at 4:05 AM, General 2018 via use-livecode 
>  wrote:
> 
> Still no luck, no closestack handler in “main stack” , tried the other 
> suggestions with hide/show etc. But still “mainstack” quits on closing the 
> “substack xyz”
> 
> Will keep looking……..
> 
> Regards
> 
>>> On 29 May 2022, at 00:12, Mark Wieder via use-livecode 
>>>  wrote:
>>> 
>>> On 5/28/22 07:15, General 2018 via use-livecode wrote:
>>> Hi ,
>>> New to substacks - I have a “mainstack” used as a menu page for 2x 
>>> “substacks”
>>> When “substacks” opened from “mainstack” they open fine using — go to stack 
>>> “xyz”
>>> The problem is closing of the “substacks” using - close stack, go to 
>>> “mainstack” or close this stack it always closes (quit) everything. Need 
>>> “mainstack” to reappear/remain ?
>>> Looked at docs and other posts. But stuck no doubt I have missed something.
>> 
>> Do you have a closeStack handler in the script of the mainstack?
>> 
>> 
>> -- 
>> Mark Wieder
>> ahsoftw...@gmail.com
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Substacks

2022-05-29 Thread General 2018 via use-livecode
Still no luck, no closestack handler in “main stack” , tried the other 
suggestions with hide/show etc. But still “mainstack” quits on closing the 
“substack xyz”

Will keep looking……..

Regards

> On 29 May 2022, at 00:12, Mark Wieder via use-livecode 
>  wrote:
> 
> On 5/28/22 07:15, General 2018 via use-livecode wrote:
>> Hi ,
>> New to substacks - I have a “mainstack” used as a menu page for 2x 
>> “substacks”
>> When “substacks” opened from “mainstack” they open fine using — go to stack 
>> “xyz”
>> The problem is closing of the “substacks” using - close stack, go to 
>> “mainstack” or close this stack it always closes (quit) everything. Need 
>> “mainstack” to reappear/remain ?
>> Looked at docs and other posts. But stuck no doubt I have missed something.
> 
> Do you have a closeStack handler in the script of the mainstack?
> 
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode