Home All Groups Group Topic Archive Search About

Mnemonics for Buttons with symbols on

Author
11 Sep 2006 9:33 AM
Phill W.
I've got some Buttons with arrows on them, creating using the WingDings
font and the relevant .Text value.  These will represent "Add" and
"Remove" operations in the finished application, so I'd like to
associate Alt-A and Alt-R to satify my keyboard junkies.
Fine if my button Text's were "&Add" and "&Remove", but ChrW(233)
doesn't quite fit the bill.

Do I have to do this with a hidden Menu item, or is there some "clever"
way of getting my button to "click" when they press Alt-A/R?

TIA,
    Phill  W.

Author
12 Sep 2006 3:57 AM
Cor Ligthert [MVP]
Phill,

You should in my idea never use extended ASCII codes as key values.

I live in a small country "The Netherlands" and here are at least 2 sets of
code tables used. (437 and 850).  I cannot imagine that a small country as
Holland has that alone.

Just my thought,

Cor
Author
15 Sep 2006 1:55 PM
Phill W.
Cor Ligthert [MVP] wrote:
> Phill,
>
> You should in my idea never use extended ASCII codes as key values.
>
> I live in a small country "The Netherlands" and here are at least 2 sets of
> code tables used. (437 and 850).  I cannot imagine that a small country as
> Holland has that alone.
>
> Just my thought,
>
> Cor

OK, I accept that it's not the "best" way to do things, but I really
don't want to start creating bitmaps for every button that needs an
arrow on it.

My question remains ...

Regards,
    Phill  W.
Author
15 Sep 2006 6:45 PM
Cor Ligthert [MVP]
Phill,

You have in my idea to use the unicode charater for this.

Because I am at the moment after a dutch computer and always forget what it
is, I am always in trouble.

But Mike added this week this path to the same message like this for English
users..

Programs > Accessories > System Tools > Character Map

There you can find that unicode character.

I hope this helps,

Cor



Show quoteHide quote
"Phill W." <p-.-a-.-w-a-r-d@o-p-e-n-.-a-c-.-u-k> schreef in bericht
news:ee3aia$nb8$1@south.jnrs.ja.net...
> I've got some Buttons with arrows on them, creating using the WingDings
> font and the relevant .Text value.  These will represent "Add" and
> "Remove" operations in the finished application, so I'd like to associate
> Alt-A and Alt-R to satify my keyboard junkies.
> Fine if my button Text's were "&Add" and "&Remove", but ChrW(233) doesn't
> quite fit the bill.
>
> Do I have to do this with a hidden Menu item, or is there some "clever"
> way of getting my button to "click" when they press Alt-A/R?
>
> TIA,
>    Phill  W.