On Feb 24, 2005, at 12:07 PM, Adam Voigt wrote:
I have a StaticText field that refuses to display the ampersand
character (&). I'm sure it's just a reserved character that signifies
something to RB, but I'm not sure how to escape it. I tried putting a
backslash (\) before it, but that didn't seem to help. Anyone know how
to make this appear? Here's what I have:
Field1.Text = "Town & Country"
Double the & up, like this:
Field1.Text = "Town && Country"
The & is used to denote a keyboard mnemonic on Windows and Linux, so it
puts an underline under the next character in the string when being
displayed.
HTH!
~Aaron
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|