更新时间:2022-12-11 18:40:23
我发现的***的解决方案是创建自己的滚动面板。滚动条包围在焦点面板周围。我已经添加了moedown,mousemove和mouseout处理程序到焦点面板。记录鼠标移动并相应地移动内容。
The best solution i found is to create my own scroll panel. The scroll bar is wrapped around a Focus panel. I've added Mousedown, mousemove and mouseout handlers to the focus panel. Recording the mouse movements and moving the contents accordingly.