如何在Delphi中捕获DBGrid中的滚动事件 [英] How to catch scrolling event in DBGrid in Delphi

查看:148
本文介绍了如何在Delphi中捕获DBGrid中的滚动事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个DBGrid,我需要运行一些代码,每次使用水平滚动条。我在DBGrid中找不到这样的事件。你可以建议一些东西吗?

I have a DBGrid, I need to run some code, each time the horizontal scrollbar is used. I couldn't find such event in DBGrid. Can you advise something?

推荐答案

也许这将有所帮助。它显示了一个捕获常规TStringGrid的滚动事件的示例。 同步滚动两个TStringgrid?

Maybe this will help. It shows an example for trapping the scrolling events of a regular TStringGrid. Synchronize the Scrolling of two TStringgrids?

这篇关于如何在Delphi中捕获DBGrid中的滚动事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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