loopolike 发表于 2010-1-22 10:24:52

怎么取出table中的某一行数据啊

想实现的是用鼠标左键点中左边的行标时,就能取出所在行的数据,如何实现啊

nimomo 发表于 2010-1-22 20:52:18

本帖最后由 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 20:52:49

本帖最后由 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:08:58

本帖最后由 loopolike 于 2010-1-23 16:11 编辑

回复 3# nimomo
谢谢了,我去试试~~

loopolike 发表于 2010-1-25 11:06:16

回复 3# nimomo



    在int GetTableCellVal (int Panel_Handle, int Control_ID, Point Cell, void *Value);中Point Cell又该如何实时跟踪鼠标获取呢??

linlintree 发表于 2010-9-10 17:45:40

GetActiveCell,然后得到activeRow = point.y,这样就可以了
页: [1]
查看完整版本: 怎么取出table中的某一行数据啊