UI Interest Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Unusual shaped controls

Hi - Is there any way to build controls with unusual shapes?  For example, if I try to make a custom control with a nice curvy swoosh, I can import the graphic onto the control, but the outline of the control remains the original shape, for example a square, and if the user clicks anywhere in the square it reacts - I would like the user to only be able to click in the curvy shape.  Perhaps I've missed an option for building controls?  Or is this not possible in Labview?  Thanks!

0 Kudos
Message 1 of 4
(7,861 Views)

I couldn't attach my example here so I converted your discussion to a document here:

https://decibel.ni.com/content/docs/DOC-26463

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
Message 2 of 4
(3,869 Views)

Hi AnneC,

I already answered in TroryK's document but wasn't able to attach files there.

Here I can ......

-------------------------------------------------------------------------

An other way to approach this is by looking at the pixel values.

This is more precise and it is easily reproduced when there are multiple controls like this.

Because it is paced in the a User Event I don't think it is very CPU consuming, but did not check this.

See attached file (LV 2011).


Cheerz, Laurens

Message 3 of 4
(3,869 Views)

Thanks to both of you!  Both great ideas, I'll try them and see what works best for me.

AnneC

0 Kudos
Message 4 of 4
(3,869 Views)