Speedbuttons vs TfsSyntaxMemo
Hi
1. Place a TfsSyntaxMemo on a form
2. Place a seedbutton on the same form
3. Set the caption of the speedbutton to "My&Button"
4. Run it, you will never be able to type a "B" into the Syntax Memo
This seems to a known Windows behaviour:
If the active control does not want keys, the accelerators of speedbuttons are active without alt key.
There seems to be a workaround by handling the CM_DIALOGCHAR message.
1. Place a TfsSyntaxMemo on a form
2. Place a seedbutton on the same form
3. Set the caption of the speedbutton to "My&Button"
4. Run it, you will never be able to type a "B" into the Syntax Memo
This seems to a known Windows behaviour:
If the active control does not want keys, the accelerators of speedbuttons are active without alt key.
There seems to be a workaround by handling the CM_DIALOGCHAR message.