B4J Question Underscore in Button Text

charlesg

Member
Licensed User
Longtime User
I can cope with the code for ALT-A shortcut on a button (see png)

I would be grateful if somebody could help with putting the <underscore>A in the button text.

Thanks
 

Attachments

  • buttoUnderscore.png
    buttoUnderscore.png
    5.6 KB · Views: 191

charlesg

Member
Licensed User
Longtime User
Couldn't really get what I wanted so I did what any programmer would do: I cheated. I drew up some buttons in Inkscape (see svg file in files) and exported them individually to png. Faked a button in B4J with an ImageView and it does all I want. The ImageView cannot accept focus but this is not a problem for me as I hate the <tab> key. It is the enemy of fast data entry.
 

Attachments

  • ButtonShortcut.zip
    33.2 KB · Views: 144
Upvote 0
Top