Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Bernard Bout
  Where is Bernard Bout?
 Brisbane
 Australia
 Bernard Bout
 To: Barbara Peisch
  Where is Barbara Peisch?
 Oceanside
 California - United States
 Barbara Peisch
 Tags
Subject: RE: see-through form
Thread ID: 105231 Message ID: 105324 # Views: 53 # Ratings: 0
Version: Visual FoxPro 8 Category: Projects and Design
Date: Sunday, August 27, 2006 3:14:39 AM         
   


Hi Barbara

Actually that is not the effect. Setting a backround image to the form is just that. The form has a background, in your case a gradient.

But the effect here is that of one form overlaying the other with the image of the first form in the background "seeping" through the background of the second form, giving the impression that the second form is transparent.

I have created a couple of forms that exaggerate the effect so that the effect is clearly visible. In my normal forms the effect is very subtle.

The main form in the background has a picture as the background, similar to your form. But the form in front of it, has the controls that are opaque but it appears that the form itself is semi-transparent, allowing the background image of the form behind to be seen through it. That is the effect. This cannot be done in XP even with API's.



> OIC. It's like the washout option you have for images in Word. Still, you do that with an image editor (which Boudewijn mentioned he used) and just use that image on your form. I've done something along those lines, where all the forms in an app use a gradient image as the background, like this:
>
>
>
> Just like Boudewijn, I have code in my base form class that sizes the image to the form's size and calls zorder(1). BTW, the label with the copyright info in the lower right corner is also part of that base form, and it automatically shows the current year as the ending year in the date range.
>
> > > Is the "see through" part the fact that the image "bleeds" over the edge of the form? That's the only thing I see that looks different from what I've done, which is to have an image that covers a form in the background.
> >
> > This is an image that covers a form in the background. This is what you are talking about.
> >
> >
> >
> >
> >
> > This is the same form with another form on top (with opaque objects), with the image below "bleeding through". This is what BL has done.
> >
> >
> >
> >
> >
> > This gives a transparent effect. See better images at:
> >
> > http://weblogs.foxite.com/bernardbout/archive/2006/08/16/2261.aspx

>
>
>
> -BP
> www.peisch.com




COMPLETE THREAD
see-through form Posted by Boudewijn Lutgerink @ 8/25/2006 9:21:31 AM
RE: see-through form Posted by Mike Gagnon @ 8/25/2006 11:26:01 AM
RE: see-through form Posted by Bernard Bout @ 8/25/2006 7:13:26 PM
RE: see-through form Posted by Barbara Peisch @ 8/25/2006 7:49:16 PM
RE: see-through form Posted by Bernard Bout @ 8/26/2006 4:21:03 AM
RE: see-through form Posted by Barbara Peisch @ 8/26/2006 6:03:43 AM
RE: see-through form Posted by Bernard Bout @ 8/27/2006 3:14:39 AM
RE: see-through form Posted by Barbara Peisch @ 8/27/2006 5:29:59 AM
RE: see-through form Posted by Bernard Bout @ 8/27/2006 5:40:32 AM
RE: see-through form Posted by Mike Gagnon @ 8/27/2006 1:16:27 PM
RE: see-through form Posted by Bernard Bout @ 8/27/2006 3:15:07 PM
RE: see-through form Posted by Boudewijn Lutgerink @ 8/30/2006 12:57:47 PM
RE: see-through form Posted by Bernard Bout @ 8/30/2006 3:16:22 PM
RE: see-through form Posted by Bernard Bout @ 8/30/2006 3:18:09 PM
C'mon Mike. Let's have that API Posted by Bernard Bout @ 9/1/2006 4:06:28 PM