01-09-2014 07:28 AM
Hi all
Ideally I want a 'silver themed' toggle button which displays a trick in the true case and a cross in the false. I know this is doable by creating a custom control and editing the grey backgrounds and adding the trick/cross but then i have problem with scaling. Does anyone know of a better way of achieving this?
P.S. I have attached a jpeg which probably explains what i am after better.
Thanks
Dave
01-09-2014 07:37 AM
You could make a picture you make visible/unvisible.
This is ofcourse also possible with the button.
Just an idea...
01-10-2014 08:37 AM
Attached is a quick control I made. Buttons can have three seperate pictures, one that is shown when True, one when False, and a Decal that is always seen. The normal Silver controls have the same image for True and False which is the silver back ground, and then the Decal which is the image you see as the glyph that doesn't change size when the control resizes.
The control attached has no image for decal, but has a different image for True and False. The down side to this is resizing becomes a problem because it will stretch the glyphs because they are no longer decals.
The process is to right click the control select Advanced >> Customize then Edit >> Import Picture to Clipboard select the PNG file you want to be see, then right click the control and Import Picture from Clipboard as True False or Decal.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord