drag stack window

Rob Cozens rcozens at pon.net
Mon Sep 4 10:38:56 EDT 2006


Hi Viktoras,

>If window shape is set to graphics (with no title bar and controls shown)
>how do we make the window dragable, so it can be dragged around the desktop?

An alternative to Klaus' solution:

on mouseMove -- 26 Mar 06:RCC
   if the mouse is up then exit mouseMove
   set the loc of this stack to the ScreenMouseLoc
end mouseMove

-- 

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list