Skip to Content
author's profile photo Former Member
Former Member

PB Classic 64 Bit Menu Shortcut Keys Stop Working

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!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2016 at 12:42 PM

    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


    pastedImage_2.png (50.2 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2016 at 10:38 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2016 at 11:36 PM

    Another example of the awesome QA process SAP has.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.