怎么取出table中的某一行数据啊
想实现的是用鼠标左键点中左边的行标时,就能取出所在行的数据,如何实现啊 本帖最后由 nimomo 于 2010-1-22 21:05 编辑Obtains the current value of a table control cell.
file:///c:/program%20files/national%20instruments/cvi85/bin/libref/dot.gif Prototype file:///c:/program%20files/national%20instruments/cvi85/bin/libref/dot.gifint GetTableCellVal (int Panel_Handle, int Control_ID, Point Cell, void *Value); 本帖最后由 nimomo 于 2010-1-22 21:05 编辑
Obtains the current value of a table control cell.
file:///c:/program%20files/national%20instruments/cvi85/bin/libref/dot.gif Prototype file:///c:/program%20files/national%20instruments/cvi85/bin/libref/dot.gifint GetTableCellVal (int Panel_Handle, int Control_ID, Point Cell, void *Value); 本帖最后由 loopolike 于 2010-1-23 16:11 编辑
回复 3# nimomo
谢谢了,我去试试~~ 回复 3# nimomo
在int GetTableCellVal (int Panel_Handle, int Control_ID, Point Cell, void *Value);中Point Cell又该如何实时跟踪鼠标获取呢?? GetActiveCell,然后得到activeRow = point.y,这样就可以了
页:
[1]