12-16-2012 01:20 AM
Hi all,
Is there any way to implement "select all" feature for selecting a no. of cells of a table control together in labview as we do in excel using mouse?
12-16-2012 02:48 AM - edited 12-16-2012 02:50 AM
You can use property nodes. The table alread supports using the mouse to select everything...you just click and drag like you would in Excel. You then use the property node to get the selection size and selection start. From there you can do what you need. I have attached an image showing you how to select everything using a button, if you would prefer your user do this. If you want them to highlight their selection with a mouse, then you would change these properties from write to read in order to determine what they highlighted. Unfortunately, there is no event for the table that handles "selection change", so if you wanted to manage this in software you would either have to poll, or handle a selection event yourself by capturing mouse down, mouse drag, and mouse up events on the table.