List of substacks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
List of substacks
Hi,
is there a way to get a list of all opened substack?
My problem is that sometimes I open a substack and its location goes wrong so that it opens outside the visible screen.
I think its a bug on the engine (it's a random issue and I never change size or location of any substacks/cards).
I'd like to tell to all the substacks to be on the screen.
Thanks
is there a way to get a list of all opened substack?
My problem is that sometimes I open a substack and its location goes wrong so that it opens outside the visible screen.
I think its a bug on the engine (it's a random issue and I never change size or location of any substacks/cards).
I'd like to tell to all the substacks to be on the screen.
Thanks
Re: List of substacks
HI D4vidrim,
you can get a list of all open stacks with:
...
put the openstacks into tListOfOpenStacks
...
Will give you a CR delimited list of the names of all open stacks.
But you need to check if they are main- or substacks by yourself, if neccessary at all.
Best
Klaus
you can get a list of all open stacks with:
...
put the openstacks into tListOfOpenStacks
...
Will give you a CR delimited list of the names of all open stacks.
But you need to check if they are main- or substacks by yourself, if neccessary at all.
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: List of substacks
What platform are you running LiveCode on?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: List of substacks
There is a "subStacks" property. See the dictionary.
Craig Newman
Craig Newman
Re: List of substacks
I prefer this solution using the menu: Tools -> Application browser
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: List of substacks
On Windows XP.FourthWorld wrote:What platform are you running LiveCode on?

-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: List of substacks
Do you have more than one monitor?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: List of substacks
Yes, I do. I compile my app on a computer with 2 monitors.FourthWorld wrote:Do you have more than one monitor?
But the problem rises with the standalone randomly on other computers too (with one monitor).
Re: List of substacks
Is the solution for this to put
in each stack (pre/openStack)
or did I get it all wrong again?
Simon
Code: Select all
set the loc of this stack to the screenLoc
or did I get it all wrong again?
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!