01-23-2013 07:40 AM
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
Solved! Go to Solution.
01-23-2013 08:05 AM
The listbox by itself shouldn't be so slow. Are you using property nodes? Can you post your code?
01-23-2013 08:29 AM
Here is the VI, you can see the differances between the 2
Regards,
Thijs
01-23-2013 08:55 AM - edited 01-23-2013 08:58 AM
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.
01-23-2013 09:14 AM
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
01-23-2013 09:18 AM
Ah, you used: "edit cell" but then i keeps jumping...
01-24-2013 02:59 AM
01-24-2013 03:54 AM
Done!
Regards!