Skip to main content

Problem with MSG-GOTO-CELL-DRAG event

  • May 30, 2018
  • 3 replies
  • 0 views

Dominique Sacre
Forum|alt.badge.img+2

Hello I have a problem with the event MSG-GOTO-CELL-DRAG (not thin client).

When I use the next code it works when I drag a row down in a grid slowly.

When I drag the row down very fast it seems to loose the MSG-GOTO-CELL-DRAG event because INTEGER is not being added.

 

WHEN MSG-BEGIN-DRAG

        MOVE 0 TO INTEGER

WHEN MSG-GOTO-CELL-DRAG

        ADD 1 TO INTEGER

WHEN MSG-END-DRAG

        DISPLAY INTEGER

 

I tried runtime 9.22 and 10.20


#Grid

3 replies

Stephen Hjerpe
  • Participating Frequently
  • June 1, 2018

Hello I have a problem with the event MSG-GOTO-CELL-DRAG (not thin client).

When I use the next code it works when I drag a row down in a grid slowly.

When I drag the row down very fast it seems to loose the MSG-GOTO-CELL-DRAG event because INTEGER is not being added.

 

WHEN MSG-BEGIN-DRAG

        MOVE 0 TO INTEGER

WHEN MSG-GOTO-CELL-DRAG

        ADD 1 TO INTEGER

WHEN MSG-END-DRAG

        DISPLAY INTEGER

 

I tried runtime 9.22 and 10.20


#Grid
Did you check to see which event was generated? I suspect the word drag in this case does mean methodical moving versus quick movement.

Dominique Sacre
Forum|alt.badge.img+2

Hello I have a problem with the event MSG-GOTO-CELL-DRAG (not thin client).

When I use the next code it works when I drag a row down in a grid slowly.

When I drag the row down very fast it seems to loose the MSG-GOTO-CELL-DRAG event because INTEGER is not being added.

 

WHEN MSG-BEGIN-DRAG

        MOVE 0 TO INTEGER

WHEN MSG-GOTO-CELL-DRAG

        ADD 1 TO INTEGER

WHEN MSG-END-DRAG

        DISPLAY INTEGER

 

I tried runtime 9.22 and 10.20


#Grid
I captured the events in a log file and these are the only onces being used and 16406 gets skipped when dragging too fast.
0016406
0016404
0016404
0016404
0016404
0016404
0016404
0016404
0016404
0016407

Dominique Sacre
Forum|alt.badge.img+2

Hello I have a problem with the event MSG-GOTO-CELL-DRAG (not thin client).

When I use the next code it works when I drag a row down in a grid slowly.

When I drag the row down very fast it seems to loose the MSG-GOTO-CELL-DRAG event because INTEGER is not being added.

 

WHEN MSG-BEGIN-DRAG

        MOVE 0 TO INTEGER

WHEN MSG-GOTO-CELL-DRAG

        ADD 1 TO INTEGER

WHEN MSG-END-DRAG

        DISPLAY INTEGER

 

I tried runtime 9.22 and 10.20


#Grid
16406, 16404 and 16407 are the only events being generated
It looks like event 16404 is being skipped when dragging too fast.