Symbols in a character string

J

JimP

Is there a way to embed the triangular symbols for "next" and "previous" in
a character string? e.g

"Press < or >", except substituting the triangular symbols for the less than
and greater than characters.
 
D

Douglas J. Steele

Unless you're using RTF (Rich Text Format), the only way would be if the
characters you want exist in the font you're using. Off the top of my head,
I doubt there are any fonts that do have them, but if there were, and you
knew what the Ascii mapping was, you'd using something like "Press " &
Chr(123) & " or " & Chr(124) (and no, 123 and 124 are not the correct
values!)
 
S

Stuart McCall

JimP said:
Is there a way to embed the triangular symbols for "next" and "previous"
in a character string? e.g

"Press < or >", except substituting the triangular symbols for the less
than and greater than characters.

If you display your symbols in Webdings font, characters 51 and 52 are what
you want. Of course these will have to be displayed in 1 char width controls
interspersed in your text controls. A bit of a pain to set up, but you only
need do it once...
 
J

JimP

Thanks,

My current font is "Arial". Is it also possible to use the "FontName"
property in a string (to change the font)? I'll give it a try.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top