Kbase P29568: Flat buttons cannot respond to the mnemonics that are assigned to their labels with the &
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/07/2010 |
|
Status: Unverified
SYMPTOM(s):
Flat buttons cannot respond to the mnemonics that are assigned to their labels with the &.
Placing an accelerator key on a flat button does not work.
Flat buttons do not accept the Alt-Key accelerators
FACT(s) (Environment):
Buttons with the FLAT-BUTTON attribute set to FALSE respond to accelerators
Windows
OpenEdge 10.x
CAUSE:
This is expected behavior
FIX:
Setting the FLAT-BUTTON attribute to TRUE forces the NO-FOCUS attribute to TRUE because the FLAT-BUTTON attribute only works with the NO-FOCUS attribute. Similarly, setting the NO-FOCUS attribute to FALSE forces the FLAT-BUTTON attribute to FALSE.
The mnemonic key (ALT accelerator) for a widget will not work if the NO-FOCUS attribute is TRUE because this removes the widget from the tab order. Also, because the widget is not in the tab order, pressing TAB will not change focus from the widget.