滚动datagridview没有获得焦点 [英] scrolling datagridview without get focus

查看:27
本文介绍了滚动datagridview没有获得焦点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在 vb.net 中使用滚轮鼠标和滚动垂直条而不实际关注 datagridview?

Is there a way to use wheel mouse and scroll vertical bar without actually get focus on datagridview in vb.net?

安德鲁

推荐答案

您可以使用滚动事件到找到网格的表单并使用以下文章滚动网格:

You can use the scroll event to the form where the grid is found and scroll the grid by using the following article:

使用 API 控制滚动

这篇关于滚动datagridview没有获得焦点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆