LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

select all feature for a table control

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?

0 Kudos
Message 1 of 2
(2,311 Views)

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.

 

Message 2 of 2
(2,302 Views)