Announcement

Collapse
No announcement yet.

DDT Button Doesn't Always Create Accelerator For "&Cancel"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lance Edmonds
    replied
    Nope.

    However, as I noted above, if you can post some compilable code that we can use to duplicate the problem, then we may be able to come up with some.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Doug Gamble
    replied
    The button is plenty high enough to show the underlined character
    and the accelerator does work, it just doesn't show up. It does
    appear in other dialog boxes in the same project (but not all
    of them). Any ideas?

    ------------------

    Leave a comment:


  • Lance Edmonds
    replied
    I always try to ensure that the first letter of a control's caption is the accelerator, and I've never ever come across this problem with DDT or SDK apps.

    Other than using an inappropriate style for the type of control being created, such as %SS_NOPREFIX with LABEL controls, we'll need to see some of your code that shows the problem.

    One other though is that you could be clipping the text if your control is not tall enough, therefore effectively "hiding" the underscore.

    When this situation occurs, do the intended accelerator key-strokes still actually work? Does the ampersand itself actually show up in the caption text, or does it ket omitted along with the underscore?

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • DDT Button Doesn't Always Create Accelerator For "&Cancel"

    I have several DDT programs with more than one dialog boxes being
    created, and most of them see "&Cancel" and "&Ok" and creates an
    accelerator for the first letter in the caption. I have a few
    dialogs that no matter what I do never display the accelerator
    when the caption starts with an "&". It seems to only happens
    with DDT based dialogs (from what I can see).

    Is there a known issue that causes this? Has anyone else seen
    it? Is there a way of making it work with DDT dialogs?

    Thanks,

    Doug Gamble

    ------------------
Working...
X