cancel
Showing results for 
Search instead for 
Did you mean: 

PB Classic 64 Bit Menu Shortcut Keys Stop Working

Former Member
0 Kudos

Good Day!

When my application is compiled as 32 bit, this issue does not occur. It only occurs in a 64 bit EXE. My application is using the PFC, so my Edit Cut, Copy and Paste are mapped to shortcuts CTRL-X, CTRL-C and CTRL-V, respectively. The DataWindow in use is u_dw.

If I select text in u_dw, I can CTRL-X the data and then CTRL-V it just fine... until I change a field which opens any kind of dialog. For example, if I CTRL-X some data and then CTRL-V it, then enter the letter 'a' into a date field, I get the expected error message about the data field not having valid data. When I clear the dialog then ESC out, I can no longer CTRL-V the data.

It's weird because if I open another screen in my application, close it, then CTRL-V in my original screen, the data pastes just fine. I thought it was a focus issue, but I do not think so. However, when I place a diagnostic MessageBox in my m_paste event, once that date field error is cleared, CTRL-V no longer even triggers m_paste. Yes, the shortcut for m_paste is CTRL-V.

Again, the 32 bit EXE works fine. Any ideas why the 64 bit EXE would have this issue? I even tried killing as many processes in my OS as possible just in case another app was catching my keystrokes. To no avail. I also check all key-driven events in u_dw and my base window... again, what is happening?

Any help is appreciated. Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tom;

  I just did a quick test by migrating my STD Integrated Framework example OrderEntry application built in PB 12.1 to 12.6 build 4098. I then ran the 64 bit compiled application under W7. I can not replicate your issues with the CTRL_C, CTRL_X, etc from the 64bit EXE.

HTH

Regards ... Chris

Former Member
0 Kudos

By default, Windows 7 and higher don't show the underline on the menus. I can see them on Chris' screen shot so he has turned on underlines. A shot in the dark, try turning on underlines:

Control Panel\All Control Panel Items\Ease of Access Center\Make the keyboard easier to use

Check 'Underline keyboard shortcuts and access keys'

Former Member
0 Kudos

Thanks, Roland. I gave that a shot in the dark, but alas, I think I must try upgrading... Thanks, again.

Former Member
0 Kudos

Hi Roland;

   FYI: That only happens in W7 & higher MS-Windows releases when you tap the ALT button on your keyboard first. Then all your accelerators (including controls) will now display their short-cuts. 

Regards ... Chris

Former Member
0 Kudos

Upgrading to Build 4098 fixed it! Thanks!

Former Member
0 Kudos

Yeeehaaaaw!  

Don't forget to hug your DataWindow's today! 

Answers (2)

Answers (2)

Former Member
0 Kudos

Another example of the awesome QA process SAP has.

Former Member
0 Kudos

Hi Tom;

  Can you tell us ...

1) Are you using the PFC version 12.6?

2) What build of PB 12.6 are you using?

3) What version of MS-Windows are you using?

Regards ... Chris

Former Member
0 Kudos

Hi Chris -

  • PB 12.6 Build 4035
  • Windows 7 SP1
  • I believe the PFC is based on 9. I have not updated it in a while since my system was stable. I'd imagine that would not matter since the Shortcut Keys are native to PB.

Thanks,

Tom