Had I been actually setting the StaticText manually, instead of
on-the-fly dynamically, I agree the Tip Palette probably should have
notified me. However, I tried to create a new blank app and do basically
the same thing, but hardcoding the value, and the most the tip pallet
would venture is "hit tab to give RB a chance to guess what your
typing". Not to mention searching the language reference returned
nothing for the ampersand character. Searching for the actual word
ampersand did return it's signifigance in the StaticText control, but it
ommitted how to escape it's function.
Phil M wrote:
On Feb 24, 2005, at 10:10 AM, Aaron Ballman 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.
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.
This list is for answering questions such as this, but this particular
question could have been answered if you looked at the RB tip palette.
Unlike other program's tips palette, REALbasics tips are actually very
useful for beginners and advanced users. In addition to hints like
this, the tip palette also shows function parameters including the
optional parameters. It is always a useful tool to have around.
_______________________________________________
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>
|