"How to" stacks on revOnLine (and the postIt field trick!)

MisterX b.xavier at internet.lu
Sat Feb 12 01:19:31 EST 2005


Dan,

There's lots of cools trick you can do with interactive resizing...

put this script in a yellow field... (dont take my wording too literally
please)

on mousewithin
  if the shiftkey is down then
    set the botright of me to the mouseloc
     -- adaptation required...
  else if the optionkey is down then
    set the loc of me to the mouseloc
    -- needs the offset delta thing 
    -- to move smoothly from the mouseloc position
    -- at the call time 
  end if
end mousewithin

on mouseleave
  CollapseMeAndMoveMeToPrefCorner -- left as exercise ;)
end mouseleave

It could be mousedown or a button, you get the idea...

Now, you got a post-it note you can move all around...

The number of possibilities is quite cool too if you 
stick it into a plugin stack... ;) If you add the
animation tricks from www.bit-101.com, etc...

Dan, may I sponsor you many Ideas! ;)

Check out the ClipperX tool stack I wrote for MC (not to 
uptodate since that's in the EditN2O palette now (unpublished
XOS addon). All the borders of the window can be dragged 
around! Grab the corners to resize the stack! Grab the sides
to move the stack! And it's also skinned! It was the foundation 
to my themeN2O stack also unpublished! I never get time to finish 
these and nobody cares for those that are published so Im the only
one enjoying them themes in Rev! ;) But surely this trick is worth
much since I've never forgotten it!

This technique can be applied to a palette stack so you can move it around
when there's no "window" title to uglify your GUI.

Dream it then Rev it!
Xavier
--
http://MonsieurX.com 
Check out the downloads for free RunRev, Metacard, 
and also HyperCard goodies a gogo to download!

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Dan Shafer
> Sent: Friday, February 11, 2005 19:04
> To: How to use Revolution
> Subject: Re: "How to" stacks on revOnLine
> 
> Eric...
> Thanks. The resize card How To was helpful. I'm using it in 
> three applications already!
> 
> Dan
> 
> On Feb 10, 2005, at 8:07 AM, Éric Chatonet wrote:
> >
> > I put on revOnLine 3 stacks that begin a collection of "How 
> to" stacks:
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list