Window manager plugin?
J. Landman Gay
jacque at hyperactivesw.com
Sat Aug 23 14:06:17 EDT 2014
On 8/23/2014, 12:07 PM, Scott Rossi wrote:
> I should have clarified that I listed two scripts: one for answer, one for
> ask. But the script is working here for all versions of LC, Mac and Win,
> including v7. Not sure what to tell you. Did you try the script in a
> new, empty stack?
>
> Something like this would be better to be all-inclusive:
>
> on suspendStack
> put the openStacks into theList
> if "answer dialog" is among the lines of theList then set the loc of
> stack "answer dialog" to loc of me
> if "ask dialog" is among the lines of theList then set the loc of stack
> "ask dialog" to loc of me
> end suspendStack
I needed this once, and tried this suggestion but I couldn't get it to
work either. I'm not sure why. I settled on this hack:
on answerWithLoc pString,pBtn1,pBtn2
set the vis of stack "answer dialog" to false
answer pString with pBtn1 and pBtn2
set the loc of stack "answer dialog" to the loc of this stack
set the vis of stack "answer dialog" to true
end answerWithLoc
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list