控制记录通过鼠标滚动移动 [英] Control Record Moving through Mouse Scroll

查看:98
本文介绍了控制记录通过鼠标滚动移动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有,

我已经构建了一个数据馈送表单,其中我使用了文本框,网格和组合。我想上下移动记录(滚动鼠标滚轮时记录一次,记录一次)。我在形式的MouseWheel中使用了控件,但问题是在滚动任何对象
,如文本框,网格,组合等等。无论我使用它都不起作用,因为MouseWheel特定的对象变得活跃。任何想法,如果我使用滚动任何形式的地方应该在形式下工作MouseWheel并正常工作为OneRecordUp和OneRecrodDown。

I have build a data feeding form where I used textbox, grid and combo. I want to move records up and down (one record up and one record down while scrolling mouse wheel). I used control in MouseWheel of form but problem is during scrolling over any objects like textbox, grid, combo etc. whatever I used it doesn't work because of that specific objects MouseWheel gets active. Any idea if I use scrolling any where in form should be work as under form MouseWheel and work properly as OneRecordUp and OneRecrodDown.

谢谢你

最好的问候

ShahidSQL(印度)

ShahidSQL (India)

推荐答案

在表单内的对象内 - 用于鼠标滚轮事件调用窗体鼠标滚轮事件。

Within the object within the form - for the Mousewheel event call the forms mousewheel event.


这篇关于控制记录通过鼠标滚动移动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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