08-27-2010 10:35 AM
08-27-2010 10:41 AM
Use a filer event and discard?
Ben
08-27-2010 11:06 AM
Why don't you attach some simple code instead of images. It would make it much easier for us to play around a little bit. 😉
What is this used for? Is it a real control? mostly an indicator?
Some ideas:
08-27-2010 12:22 PM
I attached a snippet in my previous post but it seem that when it is put in a diagram a refnum is created insted of a control.
Thanks Christan, changing the listbox to an indicator worked (if you don't click in the listbox before running the VI which is still a bit annoyant, I could probably disable the lisbox when I stop the VI and enable it at start). I feel kind of silly because changing to an indicator is something I tried with a table. I did not used the table because the cursor change to the labeling tool when you click on a table cell even when it is an indicator (there is probably a way to change this behavior but I haven't found out).
Actually I intend to use the listbox as a control where elements to be turn on/off will be selected (but I don't want the values to be modified). I want to use this kind of display (multicolumn listbox or table) because it is representative of the bit allocations table of the commands. Also up to four values can be selected. I'm still exploring different ways to implement this.
Ben
03-28-2012 08:05 AM
Hi Ben,
Did you find out a solution for completely removing the highlight of the listbox - multicolumn or single column? Making it as an indicator is not a solution for me because I need it to be a control - with drag & drop functionalities. Though the selection color is made transparent still a dotted square box is visible. I definitely need to remove it because my GUI is highly customized and this square is displaced in it.
Thanks,
Priyadarsini S
03-28-2012 08:32 AM
03-29-2012 06:52 AM - edited 03-29-2012 06:59 AM
Ben,
This is not working. I can still see a dotted line (now it is almost a line instead of a rectangle).
Thanks,
Priyadarsini S
03-30-2012 02:26 AM
Ben,
I found out a workaround which will completely remove this dotted box. For this I am capturing the 'Mouse Down?' Filter event, discarding the action and setting the value change programmatically. (see attached image).
Thanks,
Priyadarsini S
04-01-2012 10:05 PM
I mean, instead of 'Value Change' event, used a 'Mouse Down' filter event and set the 'Value(Signaling)' property node
07-16-2024 11:11 AM
I switched it to an indicator and changed the selection mode to 0 or more -- that seemed to get rid of it for me