LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom SubPanel

Solved!
Go to solution

Good evening,

 

I'd like to make my own SubPanel control, where the corners are not sharp, but have a slight radius. 

 

I know there are addons for custom controls (e.g. DMC) but what I'm not sure about, and have failed through searching online, is working out how they are made. I'm aware of right clicking on say a boolean control, and modifying it but I'm not sure how to go about using that to modify the frame itself.

 

Thanks

Peter 

0 Kudos
Message 1 of 6
(103 Views)

I don't think you can, but you put a transparent .png on the front panel to round the corners. (I used 4 small ones for this but you could have a full border with a 'hole' in the middle.

Yamaeda_0-1737563807826.png

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 6
(77 Views)

@Yamaeda wrote:

you could have a full border with a 'hole' in the middle.


You can see through the 'hole' doesn't mean you can click through the 'hole'.

 

George Zou
Message 3 of 6
(70 Views)
Solution
Accepted by topic author peterdavidgrant

Ahh this gave me the idea that I used in the end; I put a disabled DMC button (which has some nice rounded edges) under my subpanel (that was transparent) and then all my panels that get inserted had a transparent background also. Worked a treat. 

 

Thanks both for the reply's. 

Message 4 of 6
(30 Views)

@zou wrote:

@Yamaeda wrote:

you could have a full border with a 'hole' in the middle.


You can see through the 'hole' doesn't mean you can click through the 'hole'.

 


Right, i forgot about that.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 6
(25 Views)

@peterdavidgrant wrote:

 all my panels that get inserted had a transparent background also. Worked a treat. 


How do you make background transparent?

What version of LabVIEW are you using?

 

George Zou
0 Kudos
Message 6 of 6
(1 View)