Highlighted
Absent Member.
Absent Member.
275 views

[archive] Goto-cell-mouse-drag

[Migrated content. Thread originally posted on 04 November 2005]

Hi,

Can someone please tell me why GOTO-CELL-MOUSE-DRAG doesn't work when running under thin client.

Any since the above doesn't work, is there another easy alternative to accomplish the same?

Thanks,

Shaun
0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] Goto-cell-mouse-drag

Are you trying to allow the section of a grid to change color?

The drag-color property of a grid was put in especially for this action under Thin client.

The ACUCOBOL-GT manuals has a note about MSG-GOTO-CELL-DRAG (Note that this action has poor performance in applications that run with the ACUCOBOL-GT Thin Client.)

The only alternative that I can think of is to watch for the MSG-BEGIN-DRAG event and then INQUIRE grid-1, CURSOR-X in ws-x, CURSOR-Y in ws-y. Then get theMSG-END-DRAG event and when this occurs you MODIFY grid-1, CURSOR-X = ws-x, CURSOR-Y = ws-y. You can then determine which section of the grid you want to send the user to.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] Goto-cell-mouse-drag

No, I don't want to change color.

Just trying to stop the user getting to a cell without certain things happening in the first place via the keyboard.

I'm currently doing as you suggest, however if the user starts dragging and puts the cursor over a cell then starts to type it lets him, because the END-DRAG never happens.

Shaun
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.