10-11-2007 05:22 AM
10-11-2007 06:10 AM
10-11-2007 06:19 AM
are you saying its possible to haver a normal tank hidden behind the picture which shows through where the white is? so i can simply change the value of a tank and it will raise and lower and will show through my bitmap? How do you turn on of off colours in a bitmap?
Any help along this line or other appreciated as im stuck!
Regards
Mike
10-11-2007 06:25 AM
Do you have to use a bitmap image? Or can you use some of the indicators and crerate a custom control with them (have a custom image being filled with an existing control)?
tst posted some interesting changes to existing controls about 1 year ago. You could chnage the look of existing controls from the LV library and have your own custom background, filler, etc. One I remember was the moving sky which looked like Win-95 start screen (progress bar).
Please describe what you want to achieve as an end result.. Maybe there are other easier solutions.
RayR
10-11-2007 07:43 AM - edited 10-11-2007 07:43 AM
Here is a link to tst's Nugget on customizing controls.
Here is a quick example of using those techniques.
Ben
Message Edited by Ben on 10-11-2007 07:44 AM
10-11-2007 08:03 AM
10-11-2007 02:08 PM
LOL!!
Nice logo - Ben.
Didn't see that one, yet.. Now you'll have to explain the fill.. Maybe point to the appropriate thread not to hijack this one..
😄
10-11-2007 02:34 PM
Ray,
I justed used the info in tst's Nugget.
1) Edit an image in Paint and create a region that you want to be tansparent and fill it with a color that doesn't occur elsewhere in the image. In this case I used black.
2) Save as bmp.
3) Open a PowerPoint and insert an image from file.
4) use the picture tools in PP to define "black" as transparent.
5) Right-click and save as ".wmf" file. close PP.
6) In LV customize a boolean and go to blow-tourch "tweezer" mode.
7) Right-click and import image from the wmf file.
😎 Close the customize screen and replace the control with the new one. This should give you your image with a transparenet region.
9) Drag that over top of a tank control and you will be able to "tell at a glance" just how much beer is in that Champions cup.
Ben
10-11-2007 06:43 PM
cool..
now I'm thirsty,.
🙂