gettingstarted
[Top] [All Lists]

Re: Escaping the Ampersand (&)

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Escaping the Ampersand (&)
From: Adam Voigt <adam at kotisprop dot com>
Date: Thu, 24 Feb 2005 14:20:05 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <421E17EF dot 3030901 at kotisprop dot com> <56B7F7E8-868F-11D9-A98F-00039378202C at realsoftware dot com> <01d139f61cbe26511d21b046c5bdd98d at mobleybros dot com>
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>

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