How to drag window when windowshape is used?

RGould8 at aol.com RGould8 at aol.com
Tue Jul 8 14:57:00 EDT 2003


In the Transcript dictionary, under "Windowshape", it talks about the need to 
create your own "window moving" handlers, since the title-bar disappears when 
using the windowshape command.

Does anyone have any sample "fake title-bar dragging" code they could share 
that allows the user to move a window via an object on a card, instead of the 
titlebar?

I'm guessing it would be something like:

on idle
      if the mouse is down in object #1005 then
           set the loc of this stack to the loc of the mouse
      end if
end idle

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20030708/399f86e6/attachment.html>


More information about the use-livecode mailing list