Re: Moving a stack with no controls

2012-07-19 Thread Magicgate Software - Skip Kimpel
I thought about that Ross but I went the easy route for right now. Probably something I am going to need to look at soon so I will not forget this conversation. On Thu, Jul 19, 2012 at 3:23 PM, Scott Rossi wrote: > Another option is to use a specific control to handle the dragging. This > allows

Re: Moving a stack with no controls

2012-07-19 Thread Magicgate Software - Skip Kimpel
Went with option two and it works like a charm... thanks again for all of your rapid responses. On Thu, Jul 19, 2012 at 3:14 PM, Klaus on-rev wrote: > Hi Skip, > > Am 19.07.2012 um 21:01 schrieb Magicgate Software - Skip Kimpel: > >> There is some conflicting functions being called. For instance

Re: Moving a stack with no controls

2012-07-19 Thread Scott Rossi
Another option is to use a specific control to handle the dragging. This allows you to define the region that triggers the drag, and you don't have to worry about excluding objects from the script. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Klaus on-rev wrote:

Re: Moving a stack with no controls

2012-07-19 Thread Klaus on-rev
Hi Skip, Am 19.07.2012 um 21:01 schrieb Magicgate Software - Skip Kimpel: > There is some conflicting functions being called. For instance, I > have several clickable buttons on that stack. So when you go to click > on a button, it performs that functions but also tries to relocate > things and

Re: Moving a stack with no controls

2012-07-19 Thread Magicgate Software - Skip Kimpel
There is some conflicting functions being called. For instance, I have several clickable buttons on that stack. So when you go to click on a button, it performs that functions but also tries to relocate things and enters into this never ending cycle and competition of moving the screen vs perform

Re: Moving a stack with no controls

2012-07-19 Thread Roger Eller
Please ignore my wrong answer. Klaus' script is perfect. My simplistic version works with groups or controls within the card. ~Roger On Thu, Jul 19, 2012 at 2:38 PM, Roger Eller wrote: > In the stack script: > > on mouseDown > grab me > end mouseDown >

Re: Moving a stack with no controls

2012-07-19 Thread Magicgate Software - Skip Kimpel
Thank you! On Thu, Jul 19, 2012 at 2:38 PM, Roger Eller wrote: > In the stack script: > > on mouseDown > grab me > end mouseDown > > > On Thu, Jul 19, 2012 at 2:35 PM, Magicgate Software - Skip Kimpel wrote: > >> I have a stack that has a custom shape so that when it runs it has a >> transpar

Re: Moving a stack with no controls

2012-07-19 Thread Mark Schonewille
Hi, This is a FAQ. Here's some really old code. Change myMenuCorrection as required. on grabWindow if the platform is "MacOS" then put 22 into myMenuCorrection else put 0 into myMenuCorrection end if lock messages put (trunc(the width of this window/2) - the mouseH) into difH

Re: Moving a stack with no controls

2012-07-19 Thread Bob Sneidar
I think you are going to have to become familiar with drag and drop commands. I can conceive of an app intercepting a mouseDown in a card, starting a drag/drop operation, and then changing the loc of the app as the user drags the mouse around the screen. You will probably want to do some kind of

Re: Moving a stack with no controls

2012-07-19 Thread Klaus on-rev
Hi Skip, Am 19.07.2012 um 20:35 schrieb Magicgate Software - Skip Kimpel: > I have a stack that has a custom shape so that when it runs it has a > transparent background. Since it has no controls at the top as you > would normally have in a main stack, is there a way to allow the user > to drag

Re: Moving a stack with no controls

2012-07-19 Thread Roger Eller
In the stack script: on mouseDown grab me end mouseDown On Thu, Jul 19, 2012 at 2:35 PM, Magicgate Software - Skip Kimpel wrote: > I have a stack that has a custom shape so that when it runs it has a > transparent background. Since it has no controls at the top as you > would normally have