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

edit cell in multicolumn listbox is slow

已解决!
转到解答

Hi,

 

I want to make an editable multicolumn listbox where users can make a derivation of channels, using -1 en 1 to subtract channels. Now when i set the multiclomumn listbox to editable cells, it takes a least one second (in run-time) to actually input something into the cell??

 

Also, how can get the clicked cell, position?? I can't get it out of the "Active cell" property node? I want to pop up a dialog when clicking on the cell, that i can fill it's value..

 

Anyone knows how to speed this up?

Best regards,

Thijs

0 项奖励
1 条消息(共 8 条)
7,052 次查看

The listbox by itself shouldn't be so slow.  Are you using property nodes?    Can you post your code?

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 项奖励
2 条消息(共 8 条)
7,047 次查看

Here is the VI, you can see the differances between the 2

 

Regards,

Thijs

0 项奖励
3 条消息(共 8 条)
7,042 次查看

It seems like the problem is getting the cell selected, not actually changing it.  Try adding a "Value Change" event case for the listbox.  Use the Coords property to get the coordinates of the changed cell, increment the column by one and then set this value to the EditPos property.  This may help alleviate the problem, though the user will have to edit the columns in order and press <ENTER> after each cell.

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 项奖励
4 条消息(共 8 条)
7,036 次查看

Mmmmh...

 

I can't get the coordinates with the value change event? And when i use the control ref to get the coord. it gives a value in pixels... inserted in the EditPos (which reads row and columns) it doesn't work.

 

Regards

Thijs

0 项奖励
5 条消息(共 8 条)
7,030 次查看

Ah, you used: "edit cell" but then i keeps jumping...

0 项奖励
6 条消息(共 8 条)
7,029 次查看
Hi,

Maybe this is the solution:
https://decibel.ni.com/content/docs/DOC-25799
0 项奖励
7 条消息(共 8 条)
7,013 次查看
解答
接受人 ThijsBoeree
8 条消息(共 8 条)
7,008 次查看