getting to substack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
getting to substack
when i run the program the substack is not visible. i put a button that uses both setting the substack to visible as well as trying to use go to card (main card of that substack) but still cant get it to display. in livecode when i rightclick on the substack and click go to it will pop it up
Re: getting to substack
Hi.
What is the loc of the substack? Is it in front (top)?
Craig Newman
What is the loc of the substack? Is it in front (top)?
Craig Newman
Re: getting to substack
the other stack is tiny. its just to be able to select between two different substacks. so it cant be hiding the substack
Re: getting to substack
OK.
So what is its loc?
Craig
So what is its loc?
Craig
Re: getting to substack
on openstack i set it to sxreen loc. its bigger than the screen though since its for printing reports
Re: getting to substack
i used
on openStack
set the location of this stack to the screenLoc
end openStack
on openStack
set the location of this stack to the screenLoc
end openStack
Re: getting to substack
Hi.
The screenloc is the center of the screen, not the center of the card window. Try setting the loc of the missing stack to something nice, like a point within the window:
Craig
The screenloc is the center of the screen, not the center of the card window. Try setting the loc of the missing stack to something nice, like a point within the window:
Code: Select all
set the loc of whomeEver to the width of this stack div 2 & "," & the height of this stack div 2
Re: getting to substack
but a substack is not inside of a stack or anything. its a window of it own
Re: getting to substack
Right.but a substack is not inside of a stack or anything. its a window of it own
So if you set the loc of the substack to a point in the interior of the mainstack, and make sure it is on top, and visible, and has a rect of some greater than zero size, I bet you will see it. Are all those little necessities in place?
Craig
Re: getting to substack
the big one is the substack. its separate to the small one
\
\
Re: getting to substack
So, what is the issue now? Both stacks are visible. What do you still need?
Craig
Craig
Re: getting to substack
sigh... when i first open livecode or when i create the stand alone. the mainstack is shown but not the substack. the only way to get the substact to show is in livecode when i have to right click on the stack in the builder and click "Go". then it pops up
Re: getting to substack
finally found it. i tried the go stack "my stack" think but i needed to add toplevel to it
Re: getting to substack
Ah. I had said:
Craig
It's always something. Usually it's me. This time it's you...., and make sure it is on top,
Craig