LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable the cursor selection rectangle inside a table cell without disabling the table

Hello all...

 

I am currently using Labview 8.5 to make a user interface and the main part of the interface is a table.  I am using the selection properties and would like to get rid of the cursor selection rectangle that shows up when you click on a cell. I know that disabling the table will get rid of the problem but then it creates another issue since I can no longer use the selection start, size and color properties.

 

If anyone can help Id appreciate it.

 

Ash 

0 Kudos
Message 1 of 7
(5,964 Views)

Hi Ash,

 

You are talking about the rectangle around the whole cell, not the text input rectangle correct?  To get rid of that rectangle I just set the color to white.  This makes the rectangle invisible.  To do this I created a set color property node and used a color box constant tochange it to white. Unfortunately I don't believe there is a way to disable those boxes.  Hiding them is the best way to get rid of them.

 

 

Nick Keel 

Applications Engineering 

National Instruments

Nick Keel
Product Manager - NI VeriStand and Model Interface Toolkit
National Instruments
0 Kudos
Message 2 of 7
(5,943 Views)

Advanced >>> Show Selection

 

Un-check that option?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 7
(5,941 Views)
Thanks for the replies! The text input rectangle inside the cell is exactly what I want to get rid off... The border around the cell and the selection are fine the way they are...
0 Kudos
Message 4 of 7
(5,930 Views)
I don't think there is a way to get rid of that.  I have tried every property node that I thought was relevant and none of them got rid of the data entry box.  What is your overriding application?  Is it possible for you to disable and reenable the table when you want to do data entry?
Nick Keel
Product Manager - NI VeriStand and Model Interface Toolkit
National Instruments
0 Kudos
Message 5 of 7
(5,913 Views)

I had the same problem, wanted to show which cell was selected but not allow text editing. I created a "Mouse Down" event to solve the problem.

 

See the image attached.

 

 

0 Kudos
Message 6 of 7
(5,909 Views)

 

Good.

 

no_Box.PNG

 

If you really want to get rid of that box you will have to handle the edits yourself. The attached shows you a wa to start out using a string control for the data entry. Yes it is not a complete solution. It is just a demo.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 7
(5,900 Views)