发信人: redfox (Z掉了几乎所有的版...), 信区: BorlandDev
标 题: Delphi编程 -- 12.8 识别鼠标在DBGRID中的位置
发信站: 哈工大紫丁香 (2000年09月01日17:28:58 星期五), 站内信件
怎样识别鼠标在DBGRID的那一行标题上按下了?
How To indentify MouseDown On DBGrid Label?
I have a problem i can't find a way to know on witch column on the
title
of a DBGrid the mouse was pressed (or DoubleClick).
回答:
Use the OnTitleClick event handler to detect the click. Then Column.ID
will give you the column number.
--
※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 202.118.227.107]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:9.541毫秒