on mouseDown
put item 1 of the mouseLoc - item 1 of the loc of me into theX
put item 2 of the mouseLoc - item 2 of the loc of me into theY
repeat while the mouse is down
set the loc of me to item 1 of the mouseLoc + theX, item 2 of the
mouseLoc - theY
set the rect of this stack to the left of this stack, the top of this
stack,globalLoc(the bottomright of me)
end repeat
end mouseDown
On 28 May 2011, at 18:18, Todd Geist wrote:
> Hello,
>
> I have a stack with a custom title bar, that I created (no stack controls) .
> I need to create a resize control to go in the lower right. I have seen this
> done before but I can't find any examples. Can any one point me at a good
> example?
>
> Thanks
>
> Todd
>
>
> Todd Geist
> ------------------------------
> geist interactive <http://www.geistinteractive.com>
> 805-419-9382
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode