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
已解决! 转到解答。
The listbox by itself shouldn't be so slow. Are you using property nodes? Can you post your code?
Here is the VI, you can see the differances between the 2
Regards,
Thijs
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.
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
Ah, you used: "edit cell" but then i keeps jumping...