1. Hung Tran
  2. PowerBuilder
  3. Thursday, 25 July 2019

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
0
Votes
Undo

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 -

Olan

Comment
There are no comments made yet.
  1. Friday, 26 July 2019
  2. PowerBuilder
  3. # 1
Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

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?

etc

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

 

Comment
There are no comments made yet.
  1. Thursday, 25 July 2019
  2. PowerBuilder
  3. # 2
  • Page :
  • 1


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