Location of dialog box

Pete pete at mollysrevenge.com
Thu Nov 17 20:24:06 EST 2011


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, Ken Ray <kray at sonsothunder.com> wrote:

>
> 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 dialog stack you're
> opening:
>
> -- Dialog stack "MyDialog"
> on preOpenCard
>  set the loc of this stack to 100,100
> end preOpenCard
>
> -- Calling stack
> on mouseUp
>  modal "MyDialog"
> end mouseUp
>
> The other possibility is to open a dialog box as modeless, which would let
> you drag it around…
>
>
> 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:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>



More information about the use-livecode mailing list