drag a title-less palette stack

2006-05-07 Thread betypaul
Hi All I need a script so that a palette stack without a title bar can be dragged around with a mouseDown within the stack?. I have unsuccessfully tried different ways and searched the literature but no luck. I feel that somewhere there is an solution, can someone kindly point the way?

drag a title-less palette stack

2006-05-07 Thread Richmond Mathewson
try this: on mouseUp move me to the screenMouseLoc end mouseUp A bit clunky, but it works! sincerely, Richmond Mathewson Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and

Re: drag a title-less palette stack

2006-05-07 Thread Klaus Major
Hi Paul, Hi All I need a script so that a palette stack without a title bar can be dragged around with a mouseDown within the stack?. I have unsuccessfully tried different ways and searched the literature but no luck. I feel that somewhere there is an solution, can someone kindly point

Re: drag a title-less palette stack

2006-05-07 Thread Geoff Canyon
Here's the relevant code from the titlebar of my Navigator palette. local sMoving -- boolean that indicates whether we are dragging or not local sLoc -- the starting loc of the mouse on mouseDown put true into sMoving put the mouseLoc into sLoc end mouseDown on mouseUp put false into

Re: drag a title-less palette stack

2006-05-07 Thread Scott Rossi
Recently, betypaul wrote: I need a script so that a palette stack without a title bar can be dragged around with a mouseDown within the stack?. Many folks here have a variation of this. Here's one, to be placed in an object that will serve as your titlebar or similar: (watch line wrap)