I made my own live resizing with no decorations but it is not 100% perfect. Still worth a look. You may want to control how far they can resize and put a stop in there. Also I based it on left/right movement of the mouse but it might be better if is was more independent and was based upon both left/right and up/down for resizing.

Also available on my user space: mcgrath3   stack: LiveResize

Two buttons "<" and ">" in the top left of my stack.

button "<" script:
on mousedown
  put the width of this stack into myWidth
  put the height of this stack into myHeight
  put the topleft of this stack into myAnchor
  repeat while the mouse is down
    put (myWidth - 5) into myWidth
    put (myHeight - 5) into myHeight
    lock screen
    set the width of this stack to myWidth
    set the height of this stack to myHeight
    set the topleft of this stack to myAnchor
    unlock screen
  end repeat
end mousedown

button ">" script:
on mousedown
  put the width of this stack into myWidth
  put the height of this stack into myHeight
  put the topleft of this stack into myAnchor
  repeat while the mouse is down
    put (myWidth + 5) into myWidth
    put (myHeight + 5) into myHeight
    lock screen
    set the width of this stack to myWidth
    set the height of this stack to myHeight
    set the topleft of this stack to myAnchor
    unlock screen
  end repeat
end mousedown

----------------------
I also did a one button solution that works on the left/right movement of the mouse:

-- One button in the top left of the stack
on mousedown
    put the width of this stack into myWidth
    put the height of this stack into myHeight
    put the mouseH into myOldMouse
  put the topleft of this stack into myAnchor
    repeat while the mouse is down
        if (the mouseH) < myOldMouse then
            put (myWidth - 5) into myWidth
            put (myHeight - 5) into myHeight
        else
            put (myWidth + 5) into myWidth
            put (myHeight + 5) into myHeight
        end if
        if myWidth = myOldWidth then
            next repeat
        end if
    lock screen
        set the width of this stack to myWidth
        set the height of this stack to myHeight
    set the topleft of this stack to myAnchor
    unlock screen
        put myWidth into myOldWidth
    end repeat
end mousedown

HTHs


Tom


On Feb 23, 2006, at 2:04 PM, Sivakatirswami wrote:

Am I the only one who ever wanted a window to have no top decorations at all, but still wanted the user to be able to resize the window?


On Feb 22, 2006, at 8:22 PM, Richard Gaskin wrote:

On OS X it's common to have live resizing, but in Rev there is a bug in which the liveResizing property of a stack is somehow coupled to the decorations, such that turning on liveResizing removes the ability to resize the window on Windows. Conversely setting the decorations to default in order to make a stack resizable on Windows causes the liveResizing to be turned off.

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to