[REBOL] AW: Re: Creating Sub-Sub-Panel
From: moeller_thorsten:gmx at: 5-Jul-2001 17:01
Hi Colin,
thanks for your suggestions. The error was, i defined the sub-layout like
this:
sub-layout: origin 176x0 box 300x300 coal
The reason of the problem was the origin part. Removing it and placing it
before the subpanel definition solves it.
But thanks again for your assistance
Thorsten
-----Ursprungliche Nachricht-----
Von: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]Im Auftrag
von [Sanghabum--aol--com]
Gesendet: Donnerstag, 5. Juli 2001 15:23
An: [rebol-list--rebol--com]
Betreff: [REBOL] Re: Creating Sub-Sub-Panel
[moeller_thorsten--GMX--De]:
> Script Error: Invalid path value: pane
> Where: func [face value][sub-layout/pane: sub-layout-error show
sub-layout]
> Near: sub-layout/pane: sub-layout-error show sub-layout
>
> Any Ideas for this?
Not really, not without seeing you code.... But a couple of thoughs....Is
Sub-layout a face within a layout, as in my examples....
layout [....
sub-layout: box 300x300
...]
A common mistake I make with named faces is to do something like this in my
main code:
mybox: "We have a problem"
or
mypanel: sub-panel4
or
myimage: load-image %prittypic.jpg
when what I mean is
mybox/TEXT: "We have a problem"
and
mypanel/PANE: sub-panel4
and
myimage/IMAGE: load-image %prittypic.jpg
This has the effect of destroying the object, and so making all paths within
in invalid.
Post your code if these two tips don't help,
--Colin.