MViControl Posted November 20, 2009 Report Share Posted November 20, 2009 hi, I want to disable a collum of a multi-Listbox so that user can not change the content in that collum, is there a way to do that? Quote Link to comment
Norm Kirchner Posted November 20, 2009 Report Share Posted November 20, 2009 Absolutely, It's a matter of trapping the filter event and determining if it's in a specific column like this <a href="http://content.screencast.com/users/NJKirchner/folders/Jing/media/c0df957c-aa92-43ab-8fc6-ade57a9d30fd/2009-11-20_0946.png"><img'>http://content.screencast.com/users/NJKirchner/folders/Jing/media/c0df957c-aa92-43ab-8fc6-ade57a9d30fd/2009-11-20_0946.png"><img class="embeddedObject" src="http://content.screencast.com/users/NJKirchner/folders/Jing/media/c0df957c-aa92-43ab-8fc6-ade57a9d30fd/2009-11-20_0946.png" width="825" height="796" border="0" /></a> <br> Listbox demo.vi <br> and just as a cautionary tale, I saw some strangeness on my system w/ this not working quite right this morning (but it is a monday and murphy loves mondays) Quote Link to comment
crelf Posted November 20, 2009 Report Share Posted November 20, 2009 ...but it is a monday and murphy loves mondays Where in the world is it a Monday?!? Quote Link to comment
MViControl Posted November 21, 2009 Author Report Share Posted November 21, 2009 (edited) Absolutely, It's a matter of trapping the filter event and determining if it's in a specific column like this <a href="http://content.screencast.com/users/NJKirchner/folders/Jing/media/c0df957c-aa92-43ab-8fc6-ade57a9d30fd/2009-11-20_0946.png"><img'>http://content.screencast.com/users/NJKirchner/folders/Jing/media/c0df957c-aa92-43ab-8fc6-ade57a9d30fd/2009-11-20_0946.png"><img class="embeddedObject" src="http://content.screencast.com/users/NJKirchner/folders/Jing/media/c0df957c-aa92-43ab-8fc6-ade57a9d30fd/2009-11-20_0946.png" width="825" height="796" border="0" /></a> <br> Listbox demo.vi <br> and just as a cautionary tale, I saw some strangeness on my system w/ this not working quite right this morning (but it is a monday and murphy loves mondays) I try it, but it seems doesn't work, the cell in collum 3 still editable! Besides, if I click more than 4 times in the listbox, the program will not response any event, even the "stop". Edited November 21, 2009 by Techie Quote Link to comment
Norm Kirchner Posted November 21, 2009 Report Share Posted November 21, 2009 I try it, but it seems doesn't work, the cell in collum 3 still editable! Besides, if I click more than 4 times in the listbox, the program will not response any event, even the "stop". The same thing was happening on my system.... Looks like it's a trip down to floor 3 on Monday to stand up on some desks of the LV R&D fold and let out my quarterly rant. So theoretically.... that should do it, would you agree? Also if your willing to edit the code, there is no reason why I need to use the dynamic register for events. (this may aleviate the problem) so if you edit that up, let us know what you get. ~,~ Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.