Skip to main content

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

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.

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

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.