LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I remove the spaces among the booleans in 2D array?

Solved!
Go to solution

Hi all,

 

I created a 2D array of boolean buttons. But there are always spaces between 2 buttons (see pic below). I want my buttons are close to others. I tried custom control but didn't get rid of this problem. So, is there a way to solve that? Btw, if I want to change the color of the button by programming, do I need Xcontrol to do that? Thank you!

 

I'm using lv 8.5.

array of booleans

Best wishes,

Bo

Message Edited by foolooo on 11-20-2008 08:06 AM
------------------------
My blog Let's LabVIEW.
0 Kudos
Message 1 of 3
(2,586 Views)
Solution
Accepted by topic author foolooo

foolooo wrote:

Hi all,

 

I created a 2D array of boolean buttons. But there are always spaces between 2 buttons (see pic below). I want my buttons are close to others. I tried custom control but didn't get rid of this problem. So, is there a way to solve that? Btw, if I want to change the color of the button by programming, do I need Xcontrol to do that? Thank you!

 

I'm using lv 8.5.

array of booleans

Best wishes,

Bo

Message Edited by foolooo on 11-20-2008 08:06 AM

THe Classic Paltte has a smple swqaure boolean that has the smalest frame.

 

If you want to have more than just two colors (true and false) use a color box instead of a boolean.

 

Here is a thread about the colors for Booleans.

 

I hope that hleps,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 3
(2,579 Views)

Thank you, Ben! I think that's what I want.

 

Regards,

Bo

------------------------
My blog Let's LabVIEW.
0 Kudos
Message 3 of 3
(2,572 Views)