Rotated arrow bug?
[1/7] from: ddalley::idirect::com at: 13-Dec-2001 10:22
Re: ARROW EFFECT [ROTATE 90]
There is no arrow shown in its little frame.
From the docs, I think this is the correct ROTATE syntax.
Is this a bug?
Donald Dalley
[2/7] from: james:mustard at: 14-Dec-2001 10:23
Donald Dalley wrote:
> Re: ARROW EFFECT [ROTATE 90]
>
> There is no arrow shown in its little frame.
> >From the docs, I think this is the correct ROTATE syntax.
>
> Is this a bug?
>
not a bug :) try this instead..
button 20x20 effect [arrow rotate 90]
James.
[3/7] from: sunandadh:aol at: 14-Dec-2001 5:03
Hi Donald,
> Re: ARROW EFFECT [ROTATE 90]
>
> There is no arrow shown in its little frame.
> From the docs, I think this is the correct ROTATE syntax.
>
The Layout below works for me, It shows how to set an initial direction (with
left/right etc), and then (for the blue arrow) how to rotate it.
Unview/all
View Layout [Arrow 40x40 Down
Arrow 40x40 Left
Arrow 40x40 Right Blue [
Face/Effect/Rotate: Face/Effect/Rotate + 90
if Face/Effect/Rotate > 270 [
Face/Effect/Rotate: 0
] ; if
Show Face
] ; action
Arrow 40x40 Up
] ; layout
Hope that helps,
Sunanda.
[4/7] from: ddalley:idirect at: 14-Dec-2001 15:06
----- Original Message -----
From: <[SunandaDH--aol--com]>
To: <[rebol-list--rebol--com]>
Sent: Friday, December 14, 2001 5:03 AM
Subject: [REBOL] Re: Rotated arrow bug?
> The Layout below works for me, It shows how to set an initial direction
(with
> left/right etc), and then (for the blue arrow) how to rotate it.
Thanks Sunanda. I learned a couple of things from your example.
I was trying to use up/down arrows to control increasing or decreasing a set
of yearly figures. I have since changed to a Choice button. The arrow's code
line was getting pretty complicated.
I am just at the GUI's layout stage, so things may change yet.
Donald
[5/7] from: ddalley:idirect at: 13-Dec-2001 18:42
Hello, James:
On 13-Dec-01, James Marsden wrote:
> not a bug :) try this instead..
> button 20x20 effect [arrow rotate 90]
Ok. this does work, but I was trying to use the doumentation's example of not
using a button.
Must an arrow be a button, under these circumstances?
--
---===///||| Donald Dalley |||\\\===---
The World of AmiBroker Support
http://webhome.idirect.com/~ddalley
UIN/ICQ#: 65203020
[6/7] from: nitsch-lists:netcologne at: 21-Dec-2001 8:03
RE: [REBOL] Re: Rotated arrow bug?
there is a seperate vid-arrow,
view layout [arrow up arrow down arrow left arrow right]
-Volker
[ddalley--idirect--com] wrote:
[7/7] from: sunandadh:aol at: 21-Dec-2001 4:21
Hi James,
> Ok. this does work, but I was trying to use the doumentation's example of
not
> using a button.
>
> Must an arrow be a button, under these circumstances?
>
I think an arrow can do everything a button can. Here, for example, this
arrow has an action facet:
view layout [
arrow up
[print ["left click" value]]
[print ["right click " value]]
]
See earlier posting in same thread for changing arrow direction and colour.
Sunanda.