modal stack "Prompt"

Martin Baxter martin at materiaprima.fsnet.co.uk
Wed Aug 31 18:06:40 EDT 2005


Peter T. Evensen wrote:
> I have a substack that calls modal stack "Prompt"  The problem is, stack 
> "Prompt" appears over the main stack of the file, which was hidden, 
> hiding the stack issuing the modal command.  When I dismiss the Prompt 
> dialog, the substack reappears.
> 
> I have another place is the same stack the does a modal stack "Popup" 
> and this works fine... the new stack pops up over the substack as it 
> should.
> 
> Is this normal behavior?  Is there anyway to make it popup over the 
> current stack and not bring up the main stack?  I'm at a loss as to why 
> the modal command works one place in the stack script and not another.
> 
> As far as I can tell, the two dialog stacks are setup the same.
> 

Peter,

It probably is normal. A modal pops up centered on the defaultstack. So 
the difference will likely be that something is making your main stack 
into the defaultstack at the point where the dialog is centered on it.

Martin Baxter



More information about the use-livecode mailing list