LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

customize control splits elements

Solved!
Go to solution

Hi Matthew,

 

I tried to do that in LV 2009 and failed but yours looks good and indicates you did it in LV 8.6.

 

Do you have LV 2009 around to try to recreate your edits?

 

I amy have missed something and I'd like to learn what.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 11 of 14
(740 Views)

Ben,

 

I do not have an installed copy available to me right now.  I'll see what I can do.

 

 

0 Kudos
Message 12 of 14
(735 Views)

altenbach wrote:

 

Matthew, your controls is also not perfect. For example of you resize it smaller, you see that the inner part shrinks faster than the frame, also giving an unsatisfactory global result.


I only made it bigger not smaller.  Yes, it is still not perfect.  I also am constantly designing custom controls for the size I need it to be.  A customer wanted these Vista style buttons with all the fancy shading, and I had to make images for every button since it wouldn't scale properly.  I would like to see NI open up the control editor for at least vector based graphics, but it still won't make everybody happy and is most likely a ton of work.

Message 13 of 14
(733 Views)

Ben,

 

Here are the instructions for what I did:

 

1.  Open a new custom control
2.  Drop a color box which has a frame (I am starting with the Modern colorbox here)
3.  Open another new custom control
4.  Drop a modern boolean
5.  Change both controls to customize mode
6.  On the boolean, select the LED part, right-click and choose Copy to Clipboard (I cannot get CTRL-C to work properly for the LED part).
7.  On the colorbox control select the color box part, right-click and choose (Import from Clipboard at Same Size)
8.  Repeat 6 and 7, but using the frames for the control instead.


As Christian pointed out, the control works around the size you deisgned it for, but looks worse the further you get from the designed size.  It appears that resizing works, but the scaling is not.

 

Message Edited by Matthew Kelton on 11-03-2009 10:35 AM
Message 14 of 14
(724 Views)