08-04-2005 01:25 PM
08-04-2005 01:42 PM
The trick is in the second part of step 5. After you click the wrench, you can right click any image and (if you have an image in the clipboard), replace it with the one from the clipboard (import...).
Like I said, since there is a way to customize 2 controls at the same time, step 4 is unnecessary.
08-04-2005 02:02 PM
Dear tst,
>The trick is in the second part of step 5. After you click the wrench, you can right click any image and (if you have an image in the clipboard), replace it with the one from the clipboard (import...).
I do exactly step by step you described however all what it does is just creating a decoration image which doesn't have several states and is not changing when I press button.
i do:
1. place OK button and LED on my VI
2. Advanced->Customize separately them
3. LED in Edit Mode, right click on image and Copy to Clipboard
4. OK button in Edit Mode, Right Click ->Import Picture. This changes on of the pictures of the button itself. if I just Edit->Paste it inserts just decoration.
What is wrong in my steps?
08-04-2005 02:02 PM
08-04-2005 02:07 PM
08-04-2005 02:37 PM
I think I understand.
In this case, the trick is once again in right clicking the image. When you do, you will see a menu option called Picture Item. Each element in a boolean actually has four images (the last two are for transition states where you hold the mouse down). What you need to do is to select and replace each image individually. Replace the first one (import...), then go to the third and replace it as well. Then copy the False image and replace the second and fourth.
08-04-2005 03:26 PM
To tst
>In this case, the trick is once again in right clicking the image. When you do, you will see a menu option called Picture Item.
This is the main problem... I do not have image there.... in my Button control I have only one image... it is button itself.
How can I add second image there, with Picture Item? All what I can do it is to add image but without Picture Item, like decoration.
08-04-2005 03:32 PM
That's what I said earlier - You can't.
What I did was to customize the button which already has the LED inside it, not the regular OK button. Other booleans have other parts. You can scroll through them by selecting Window>>Show Parts Window. Note that some boolean parts have different behavior (like the decal on a LED).
08-04-2005 03:36 PM
to tst....
Now I understand. I thought that you know how to make Button with LED... That was my original question. How to make button with LED? Where have you got that button from?
08-04-2005 03:45 PM
It's on the standard boolean palette of every recent LV version I've seen. It's called the Push Button.
Remember that you don't actually need a button with a LED. You could use another boolean with more than one element.