Re: fill and strings

Charles Goodwin <[email protected]>
Newsgroups gmane.comp.java.xwt.core
Organization XWT Foundation
Message-ID <[email protected]>
On Fri, 2004-03-05 at 22:10, Brian Alliet wrote:
> Keep in mind the 'foo.bar' syntax is just short for 'foo["bar"]'.
> 'foo.bar.baz.quux' is just 'foo["bar"]["baz"]["quux"]'. Say you have
> 
> .org.ibex.themes.variable_theme_name.images.foo;
> 
> You can do
> 
> var theme = "somestring";
> var image = .org.ibex.themes[theme].images.foo
> 
> Hopefully this clears things up.

Ahhhh...... illuminations appear before me.

The next issue is passing this to another function

In bevel.t:
form ++= function(v) { if (thickness) border =
    .org.ibex.theme.win2k.image["bevel" + thickness + v]; }

In border.t:
border ++= function(v) {
    ibex.log.info(v);
    $nw.fill = v["nw"];

The problem as described in the logs (generated by the border trap):
border-img.t:15: org.ibex.Ibex$Blessing-ZTQ/[email protected]
Picture: couldn't load image for stream [email protected]
-- 
- Charlie

Charles Goodwin <[email protected]>
Online @ http://www.charlietech.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.