[REBOL] Re: Newbie: Help with image buttons (View)
From: kimm2:mcmaster:ca at: 26-Sep-2002 23:40
Thanks for the great advice Carl!
Now... On to my next problem... This is my first attemp using View and
I'm pretty sure I'm not getting this done the best way possible.
However...
I seem to have pinpointed the problem to a 'foreach' loop.
I have a function called:
cellphone: layout [
...
output: check "1" "test"
...
]
Within this function, it calls another function:
check: layout [number word][
...
foreach ...
...
]
I seem to get the following error. It seems to be internal with the
system, because I have no code resembling this in my program:
** Script Error: Invalid path value: view
** Where: evt-func
** Near: if all [
system/view/focal-face
event/type = 'down
not within? event/offset win-offset? system/view/focal-face
system/view/focal-face/size
system/view/focal-face/dirty?
] [
fac: system/view/focal-face
unfocus
do-face fac none
fac/dirty?: none
]
event
>>
Matt