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?
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
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
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
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)