NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

能不能让listbox像table一样可进行修改

如题,listbox运行后鼠标移动过去是变成手的形式,是否可像table一样可以进行修改其中的数据.

 

0 项奖励
1 条消息(共 2 条)
3,594 次查看

If you need what the table does, why not using table instead?

 

And, if you really must use listbox, you may try...

 

  • Read Dbl-Click (double-click) property value
  • If the value is not equal to -1, index the listbox's ItemNames with the Dbl-Click value
  • Pass the indexed Item to a pop-up sub VI for editing before inserting it back to the ItemNames.


Hope above not confuse you 😉

 

 

Update... try refer to ...Get Double-Click Row.vi (using Multicolumn Listbox) at http://www.lvvilib.com/lvcodes.html#anchor-mclb

Message Edited by ian fung on 09-13-2009 11:54 PM
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
2 条消息(共 2 条)
3,573 次查看