Rotatable fields?

Ken Ray kray at
Thu Feb 7 22:08:01 EST 2002

Try this:

It takes a snapshot of a field on the card, makes an image out of it and
rotates it:

on mouseUp
  import snapshot from rect (the rect of fld 1) of window (the windowID of
this stack)
  put the short id of the last image of this cd into tID
  select image id tID
  rotate image id tID by 90
  choose browse tool
end mouseUp

You can then hide the original field and move the new image into place. One
note is that the bounding rectangle of the resulting image is as tall as it
is wide due to the rotation.

Ken Ray
Sons of Thunder Software
Email: kray at
Web Site:

----- Original Message -----
From: <pixelbird at>
To: <use-revolution at>
Sent: Thursday, February 07, 2002 7:44 PM
Subject: Re: Rotatable fields?

> Howard wrote:
> > Believe me, being able to rotate buttons or fields and
> have the labels
> > and text rotate would be very useful. And at this point,
> I'd be happy
> > with simply 90 degree rotational increments. :-)
> ----------
> OK. Another solution might be to use icons. Draw text
> and rotate it in the icon editor. I do this to switch custom
> arrows and other such things. Quick, easy.
> HTH,
> Ken N.
> ---------------------------------------------
>            The Computer Place
>         Info = info at
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the use-livecode mailing list