mhonarc-users

Re: Resource variables in Icon resource

2003-09-05 21:25:18
(courtesty cc to OP until list delivery problems are fixed)

On September 6, 2003 at 00:14, Malcolm Miles wrote:

It appears that you can't include a resource variable in the
specification of an icon resource eg: the following entries in my
resource file do not expand $ARCDIR$ into "tdu" in the icon
specification:

<DefineVar chop>
ARCDIR
tdu
</DefineVar>

<Icons>
    */*;[14x16]/$ARCDIR$/resource/transparent.gif
    multipart/mixed;[14x16]/$ARCDIR$/resource/paperclip.gif
</Icons>

The variable does get correctly expanded in other parts of the
resource file, just not in the icon specification. Is this the
expected behaviour or a bug?

Expected behaviour.  The ICONS resource page says resource variables
are N/A (Not Applicable).

Have a look at the ICONURLPREFIX resource.  You may be able to
use that to get the effect you want.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-USERS

<Prev in Thread] Current Thread [Next in Thread>