Visual Effect command
pete at mollysrevenge.com
Mon Jun 27 20:22:10 EDT 2011
Thanks Ken, I'll give it a try. Always leery of trying anything out of the
ordinary with modal windows since LC hangs up very easily on any problems
I do actually need a modal window though so not sure if this will do it or
not. I guess the closest way I can describe this is for the modal window to
act like a Mac sheet but descend down from a control on the card rather than
the window title bar.
It would be nice to find a way to make this work but it's definitely
window-dressing (pun entirely intended)
Molly's Revenge <http://www.mollysrevenge.com>
On Mon, Jun 27, 2011 at 4:49 PM, Ken Ray <kray at sonsothunder.com> wrote:
> > Looks like the show and hide commands allow you to name a stack, but
> > no way to specify that the stack should be modal, which is what I need.
> > thought about trying "go invisible stackname as modal" followed by the
> > command but I think the script would stop execution at the go command so
> > show would never happen until after I return from the modal stack.
> Actually, Pete, you found the one way to create a *non-modal* modal... it's
> a way I've used many times to show a modal progress bar that does not block
> script execution:
> put "Before"
> go invisible stack "MyModal" as modal
> set visible of stack "MyModal" to true
> put "After"
> --> Puts "Before", opens the modal, then immediately puts "After" into the
> message box, and the modal is still open
> So perhaps it *would* work for you after all...
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.com>
> > On Mon, Jun 27, 2011 at 1:00 PM, Scott Rossi <scott at tactilemedia.com>
> >> One way to restrict a visual effect to a portion of the screen is to use
> >> the
> >> effect with hide/show:
> >> show grp 1 with visual push down
> >> hide grp 1 with visual push up
> >> However, this will not work with overlapping objects. You would have to
> >> make sure the affected object can be displayed independently of objects
> >> around it. Otherwise, you'll have to physically move the object (see
> >> move command).
> >> Regards,
> >> Scott Rossi
> >> Creative Director
> >> Tactile Media, UX Design
> >> Recently, Pete wrote:
> >>> I would like to have a modal stack come into view by "sliding down"
> >>> behind a control on the calling form. I found the visual effects
> >>> but when I use that (with scroll down), all of the existing window
> >> scrolls
> >>> down, not just the modal window. Seems to work the same for other
> >> of
> >>> visual effect. Any ideas on how to make that work? I'd also like to
> >> make
> >>> the modal window slide back up behind the control when I close it, but
> >> one
> >>> step at a time!
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at 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 at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode