[AccessD] ampersand curiosity

Bill Benson bensonforums at gmail.com
Fri Jun 2 09:31:34 CDT 2023


You can also create a mockup of what you want to display and save that as
an image which you can then apply to the Picture (or similar) property of a
Form control of some type. Maybe not the toggle button but certainly a
command button.

One of the nicer techniques I have seen lately has (I think) three buttons
for every one, and uses the MouseMove and MouseDown events to make the
different images swap relevance by toggling the visible property of the 3
controls, thus appearing to represent different states for the same one.

On Sat, May 20, 2023 at 9:30 PM Ryan W <wrwehler at gmail.com> wrote:

> Part of ampersand in a control caption is creating a keyboard shortcut for
> a control.
>
> If you set a control's caption to &Copy, you'll see the C in the word
> "Copy" (on a button face, as an example) is underlined in normal form view,
> signalling that pressing Alt-C will perform the same action as the button
> press.
>
> If you want to show an ampersand and only an ampersand, you need to use
> three ampersands in the caption property.  If you want an ampersand and
> text, double up the ampersand.. eg: &&Copy becomes &Copy on the button
> face.
>
> On Sat, May 20, 2023 at 8:21 PM Steve Schapel <
> steve at datamanagementsolutions.biz> wrote:
>
> > Hi all.
> >
> > I haven't participated actively in this group for a while, but it's
> > great to still have the connection.
> >
> > I wanted to display a symbol on a toggle button, the symbol being a
> > character from the Webdings or Wingdings font.
> >
> > I have done this before, obviously by using the control's Caption
> > property, and it has served my purpose well.
> > (For the record, to achieve a kind of "poor man's conditional
> > formatting" on a continuous view form.)
> >
> > All good, until the Webdings character I wanted to use was the one that
> > corresponds, in a regular text character font, with the '&' character.
> > Hmmm, doesn't work.
> >
> > And then, as part of my trouble-shooting efforts, I discovered something
> > that some of you possibly know (but I didn't), that even using a regular
> > font, using a Caption of & or && does not show up on the control.
> >
> > This isn't too debilitating - I can get around it another way.  But I
> > found it curious, and wondered whether anyone has any light to shine on
> > this.  Thanks.
> >
> > Regards
> > Steve
> > --
> > AccessD mailing list
> > AccessD at databaseadvisors.com
> > https://databaseadvisors.com/mailman/listinfo/accessd
> > Website: http://www.databaseadvisors.com
> >
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>


More information about the AccessD mailing list