01-22-2025 08:54 AM
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
Solved! Go to Solution.
01-22-2025 10:37 AM
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.
01-22-2025 10:45 AM
@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'.
01-23-2025 04:41 AM
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.
01-23-2025 04:55 AM
01-23-2025 10:33 AM
@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?