1. Hung Tran
  2. PowerBuilder
  3. Thursday, 25 July 2019 04:10 AM UTC

Dear experts,


I have an issue when upgrade from PB 7.0 to 2017 R3.


The isssue is about keyboard press, in old system whenever I press SPACE or RIGHT key then no event occur, but in PB 2017 R3 after upgrade by migration tool, then some event occur in my PG like below:

Press SPACE: first press the event is setting focus to screen item, second press event is back to previous page.

Press RIGHT key: the event is move to right area.

So Please suggest me how can I remove some key press event like above.


Thank you so much!

Olan Knight Accepted Answer Pending Moderation
  1. Friday, 26 July 2019 03:06 AM UTC
  2. PowerBuilder
  3. # 1

The standard way to handle keystrokes is to code a ue_keysown event mapped to the appropriate PBM event

   dw.ue_keydown maps to pbm_dwnkey
   window.ue_keydown maps to pbm_keydown or pbm_keyup


Another good place to capture commans can be the RBUTTONUP event.

Later -


There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 25 July 2019 13:33 PM UTC
  2. PowerBuilder
  3. # 2

Hi Hung;

  There is not much to go on in your post. Can you tell us ...

1) What user event(s) are you using?

2) Do you have code in the "Other" event controlling this.

3) What Control(s) does this pertain to?


BTW: Event(s), Event handling and especially event timing was changed by Sybase & SAP over the many versions leading up to Appeon PB (which is 1st based on PB 12.6). Without seeing any screen captures and/or example code - its hard to make any suggestions (at least for me).

Regards ... Chris


There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.