Skip to main content

[archive] Strange Grid Behavior

  • July 3, 2009
  • 13 replies
  • 0 views

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks

13 replies

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
I think I know what you mean.
At a guess your cursor(selected grid cell) is sending the grid off in the scrolling manner.

Is this on first execution or always happening?

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
I think I know what you mean.
At a guess your cursor(selected grid cell) is sending the grid off in the scrolling manner.

Is this on first execution or always happening?

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
I think I know what you mean.
At a guess your cursor(selected grid cell) is sending the grid off in the scrolling manner.

Is this on first execution or always happening?

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
Hi, Shaun
It is on the first execution. It is fine after that.

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
After the control is displayed, try modifying the cursor position to somewhere sensible and see if that fixes it for you.
MODIFY TheGrid, CURSOR-X = 1, CURSOR-Y = 2

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
Hi, Shaun
I tried it but it didn't work. I have tried various things to try to "reset" the grid such as disabling/enabling it, making it invisible/visible but nothing has worked. I believe the program is somehow interpreting a click on the scroll bar as a drag.

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
Hi, Shaun
I tried it but it didn't work. I have tried various things to try to "reset" the grid such as disabling/enabling it, making it invisible/visible but nothing has worked. I believe the program is somehow interpreting a click on the scroll bar as a drag.

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
What version are you running with?
Are you able to post a fairly easy to replicate sample - if so, I'd be happy to see if I can help.

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
Thanks, Shaun
I'm running version 6.2. The program would be hard to replicate. It's a large program that is pulling data from a SQL Server database. We have hundreds of grids in our programs but this is the only one that acts this way. Very strange.

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
Shaun,
Do you know if there is any way to disable dragging on a grid?

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
Shaun,
Do you know if there is any way to disable dragging on a grid?

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
Are you running via acuthin or wrun32?

In 6.2 via acuthin there is not a fool proof method of disabling drag.

However, In the GOTO-CELL-DRAG event do a "MOVE EVENT-ACTION-FAIL TO EVENT-ACTION"
That won't work unless you're running via wrun32

When we were running via thin client prior to V8.0 we captured the X&Y properties of the grid during the BEGIN-DRAG and then set the X&Y properties back to the saved values during the END-DRAG

[Migrated content. Thread originally posted on 02 July 2009]

Hello
Has anyone ever run across the following grid behavior:
When the vertical scroll bar is clicked the horizontal scroll bar scrolls all the way to the right. When the horozontal scroll bar is clicked the vertical scroll bar scrolls all the way down to the end of the grid.
Does anyone have any ideas on whet might be causing this or how to troubleshoot it?

Thanks
Shaun,
We figured it out. We are displaying a message box when a grid row is right-clicked. We changed it to be performed on event procedure Msg-Grid-Rbutton-Up instead of Msg-Grid-Rbutton-Down and it seemed to clear it up.
Thanks for all your help