Re: Location of dialog box

2011-11-18 Thread James Hurley
Ken and Malte, Thanks for the suggestions. Malte--Your suggestion works well. Thanks. As you say it is a bit of a hack. Ken--I was referring to the stack that opens in response to the RR Answer command. Is it possible to set a preopencard handler in that stack? But using a modal stack as

Re: Location of dialog box

2011-11-18 Thread Wilhelm Sanke
On Fri, Nov 18 , 2011, James Hurley jhurley0305 at sbcglobal.net wrote: Ken and Malte, Thanks for the suggestions. Malte--Your suggestion works well. Thanks. As you say it is a bit of a hack. Ken--I was referring to the stack that opens in response to the RR Answer command. Is it

Re: Location of dialog box

2011-11-18 Thread Wilhelm Sanke
Addendum to my last post in this thread: I have used this approach for dialog stacks with the added newloc property in many of my stacks, e.g. look at the scripts of buttons Store image 1 and Store image 2 in my stack seamless tiles. http://www.sanke.org/Software/SeamlessTiles2.zip This

Re: Location of dialog box

2011-11-18 Thread Klaus on-rev
Hu guys, Am 18.11.2011 um 17:56 schrieb Wilhelm Sanke: On Fri, Nov 18 , 2011, James Hurley jhurley0305 at sbcglobal.net wrote: Ken and Malte, Thanks for the suggestions. Malte--Your suggestion works well. Thanks. As you say it is a bit of a hack. Ken--I was referring to the stack that

Re: Location of dialog box

2011-11-18 Thread Ken Ray
Ken--I was referring to the stack that opens in response to the RR Answer command. Is it possible to set a preopencard handler in that stack? Yes, but for the reasons that Wilhelm wrote you wouldn't be able to distribute a raw stack to someone else and have it work right in their IDE. I

Location of dialog box

2011-11-17 Thread James Hurley
Can one set the location of the popup dialog box? In my application, it obscures the object it is addressing. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Location of dialog box

2011-11-17 Thread Malte Brill
Hi Jim, yes, you can, but it is sort of a hack. You will need to handle the suspendStack message at stack script level: on suspendStack if answer dialog is among the lines of the openStacks then set the topLeft of stack answer dialog to 0,0 end if end suspendStack Please keep in

Re: Location of dialog box

2011-11-17 Thread Ken Ray
On Nov 17, 2011, at 10:05 AM, James Hurley wrote: Can one set the location of the popup dialog box? In my application, it obscures the object it is addressing. Jim, the only way to set the locaton of a modal dialog box (that I'm aware of) is changing the location in the preOpenStack of the

Re: Location of dialog box

2011-11-17 Thread Pete
I might be wrong, but I think he's talking about the popup contextual menu dialog box. As I recall, the top right of them is placed at the mouse is click, maybe he wants to have it popup somewhere else? Jim? Pete Molly's Revenge http://www.mollysrevenge.com On Thu, Nov 17, 2011 at 5:11 PM,