[REBOL] Re: Scrollpanel style
From: brett:codeconscious at: 28-May-2001 0:05
> Hmmm. Trying this in the Console...
> >> do http://codeconscious.com/rebsite/utility-style-demo.r
> I get this...
> ** Access Error: Cannot open /view/utility-style-demo.r
> ** Where: do-facets
> ** Near: read %utility-style-demo.r
> where "view" above is my rebol/view directory.
> Yet your script runs fine from the Desktop... ???
> I also get the above error trying to run your...
> from the Console too, yet I've not had this problem with other
> scripts. Any ideas, anyone?
As Scott points out - there is a coding error, but it still works because of
a redundant call (view-script loads up standard-guis.r first).
I think the problem here is that calling the script from the desktop affects
the current directory, whereas from the console the current directory would
be unmodified and thus the script cannot be found (being a path). If I'd
used a path-thru statement all would have been well. In fact I might just do
> As to your script, excellent work! I especially liked the Bizzare
> Button. (: As it happens I'd been playing with panes within panes
> myself of late. Try...
> though there's definately no gaurantee it'll behave. A Win2000 user
> said it just tells him "Invalid face object", over and over again.
> You have been warned! (:
Thanks - and yours works well! (Win NT 4.0)