Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

use of &#13 for other than screentips

0 views
Skip to first unread message

Steve

unread,
Apr 30, 2009, 7:02:34 PM4/30/09
to
howdie all.

In the Ribbon X book (by KPuls, THennig, and TMartin), on page 366, there is
a comment about being able to do a carriage return on a screen tip by using
&#13.

I want to make a gallery, and for my button labels I'd like to have a two
line label.
And example of which would be-

NW | NE
NW | NW
-----------
SW | SE
NW | NW

where each of the eight two letter sets belong to four labels, and the
vertical | bar would be a separator of the label. And the hyphens a
horizontal separator-- just for imagining purposes here.
so, my question is--

Can I do the following, and it'd work, or, if not, what, if anything, would
work to accomplish this?

item id="NW1" label="NW &#13 NW"
item id="NW2" label="NE &#13 NW"
item id="NW3" label="SW &#13 NW"
item id="NW4" label="SE &#13 NW"

I'm asking because right now I'm in the early design stages of a rather
involved gallery, and would hate to get everything typed up, and then have it
fail once I make my initial trials.

Thank you.

Peter Flynn

unread,
May 16, 2009, 11:09:58 AM5/16/09
to
Steve wrote:
> howdie all.
>
> In the Ribbon X book (by KPuls, THennig, and TMartin), on page 366, there is
> a comment about being able to do a carriage return on a screen tip by using
> &#13.

If this is in XML syntax then it would have to be 
 (terminating
with a semicolon).

///Peter
--
XML FAQ: http://xml.silmaril.ie/

Steve

unread,
May 16, 2009, 2:42:01 PM5/16/09
to
Hi Peter,
Thank you for the response.
Yes, it was suppose to have been with the semicolon finish.

I tracked down Ken Puls a week later and he said that it was corrected in
the book's errata.
In the end, I found it more useful to make screenshot icons for my gallery
allowing me to get the "look" I wanted/needed.
After a lengthy discussion between Ken and I on Pat Schmidt's forum, I found
that I cannot do my label the way that I'd hoped, and in fact the only places a space in the label text string, and does not actually perform
a forced carriage return-- as I'd both been led to believe, and had hoped
for.
Cie la guerre.....
Perhaps someone else can find a solution out of this in the future.

Over the past few weeks, I've been working more with special characters in
my ribbon labels, tips, etc.... and finally was able to get some vba code to
create a list so that from now on I can have ready access to the characters
beyond the standard 255 we get with =char(row()) in excel.

Best regards-- and thank you for taking the time to respond.

"Peter Flynn" wrote:

> Steve wrote:
> > howdie all.
> >
> > In the Ribbon X book (by KPuls, THennig, and TMartin), on page 366, there is
> > a comment about being able to do a carriage return on a screen tip by using
> > &#13.
>

> If this is in XML syntax then it would have to be (terminating

0 new messages