05-26-2010 04:15 AM
Hi please advise.
In any of the tables, I should be able to set color on any cells but I am not able to. In the end I have to double click to make cells colored.
It goes like this, whichever tables, I clicked, the other tables will show colored cells but the table which I clicked, do not show colour. Only it works by double click.
Here ia my attached.
I am using LV7.1
regards
Clement
05-26-2010 04:35 AM
The issue seems to be with the filter event - because you can discard the event, the selection isn't implemented until after the event frame finishes execution, thus leaving you with the previous selection value.
If you change the event to the Mouse Down event, it seems to work fine.
05-27-2010 01:49 AM
Hi Thanks.
It works well until I add the function of context menu and mouse down?. It does not work.
I revamped it to simplfy and narrow the problem. Only clicking on the table control tbl_serialno does not register the change in the selected cellI and the selected color does not appear in the selected cell but other.
I used the context menu for the right click in order to acquire the serial number and clicking on it, will direct me to where there will be more details for this number
I am puzzled. Please advise.
Here is the attached. I am using labview 7.1
regards
Clement
05-27-2010 05:59 AM
The issue hasn't changed. You're reading the SelStart property expecting to find the current selection, but that property isn't updated with your current selection until the event ends.
I see that you added writing to the property, but there are several issues here: