LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Decorations on Custom Controls

Hello,

Attached is a very simple custom control I created. It doesn't work exactly
as I would like. When the user presses on the decoration part of the
button, the button does not depress. How can I create a custom button where
the user can press the decoration and have the button depress?

Are there some good resources for building custom controls?

Thanks,

Peter



[Attachment Stop.ctl, see below]
0 Kudos
Message 1 of 2
(2,566 Views)
Your button does not work since the decoration is an inactive element. It gets the mouse click but it does nothing with it.

You have to replace the bitmaps of your button with your own bitmaps which have the decoration in front of the button. You can do this in the edit mode of the control editor.

There is a pdf manual "Custom Controls and Type Definitions Application Note" which can be installed with LabVIEW (option manuals).

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Message 2 of 2
(2,566 Views)