11-07-2008 09:07 AM
11-07-2008 11:44 AM
Like I said the other solution posted on this thread takes you through gyrations..... Attached you will find a simpler way of getting this done...Yes, 1 out of many ways to do this....
Basically, single click to edit the Table cell, double click to use the pop down menu... You can edit as you see fit cus it rough cut.... go ahead comment away, I've seen this done b4, yea its not new...
11-10-2008 09:49 AM
11-10-2008 10:42 AM - edited 11-10-2008 10:44 AM
Here's a sample, NI "style" of coding... I have to check the rule book. And this is not all either. I do believe a LAVA contributor mentioned "complex" or to that liking
11-10-2008 10:47 AM
FYI
There is an invoke node method available to help translate clicks to cells (which I am not sure would help here but it's worth sharing )
Ben
11-10-2008 11:05 AM
Ben wrote:
There is an invoke node method available to help translate clicks to cells (which I am not sure would help here but it's worth sharing
)
Indeed, and that's exactly what I meant in my statement
However, the VI that Eugen had started to put together still seems fairly straightforward to me, as it does just that, and is a better starting solution that the one posted in reply # 8, since using the Edit Pos places the dropdown's top-left corner where the user double-clicked, which is in the wrong place. Also, requiring the user to double-click seems counterintuitive to me. But perhaps I'm just old-fashioned.
The VI in reply #6 suffers from relying on constants rather than picking up this information directly from the control.
11-10-2008 06:27 PM
This is precisely what I've already done (use Invoke node), the VI is posted above, see the attached pic of the BD. Open it and have a look at the Invoke node. Not the only way to do either...
11-10-2008 08:31 PM
Ya the reply from #6 seems foolish stuff. But at the end I still prefer TSPopup.Lookup.vi, contributed from LAVA. Thanks to JDave.
http://forums.lavag.org/Type-Sensitive-Popup-file105.html
By TSPopup.Lookup.vi, just feed in current coordinate and control reference, and u get what u wanted. You need not care about the "constant" coordinate, as where the control is located.
Just to share out some good stuff here. Feel free to shoot me. 🙂
11-18-2015 10:28 AM
hi,
i modified yours with more flexible, no need manual offset when the table is moved