"transparency" for subfors

  • Thread starter Thread starter Christian Stueben
  • Start date Start date
C

Christian Stueben

Hi all, grettings from germany.

The problem i have is as follows:

I have access 2003, and there is a main form called form_main, and therein
an embedded subform called form_sub. I want to have form_sub "transparent",
so that i can see through to the background picture of form_main.

Unfortunately forms do have no property "transparent". So i tried to copy
the backgroud picture from form_main to form_sub, by onload-event and
something like me.picturedata = me.parent.picturedata. Works great ... but
the clipping (oops, right word ?) of both pictures cannot be aligned so that
background of form_sub fits perfetly to form_main.

Both pictures are are set to abschneiden (cut ?) and oben links (fit top
left ?).

To make a fitting fraction of the main background picture by hand and insert
to form_sub is NOT the solution, because the background picture can change
by runtime.


So now my question:

Who can tell me how to copy a special selection of the main background
picture to my form_sub, does anybody have examples, is there a FAQ page that
deals with this problem?


Many thanks to all.

Grettings, Chris
 
hi Chris
Tricky little thing your are doing. i never had a need to
to the same so i am just offering a suggestion.
I think your best bet is to crop the orginal picture
(which i am assuming that you still have on file/disk) and
import the cropped version of the main pic to the sub form.
Cropping means cutting away protions of a picture and
keeping a smaller section. many pic viewer have this
feature. i have done it in paint before.
yes, it would be a bit manual and even tricky. but it is
the only solution that i can offer. maybe someone else
knows a better way.
Regards
Frank
 
Hi Frank,
i have thought of this way (cropping and inserting manualy) before. But it
is not a solution for me. Because the background picture might (might?
migth? what is the right word? please excuse my bad english) change by
runtime. So every user is capable of giving his own background picture.

Of course it might be possible to finish the access database without
background picture, but i (and of course my customers too) would be glad to
have the corporate identity (brand sign, standard color set) in the
background.

For every "parent"-form it is no problem to load a background picture under
runtime conditions. Most controls are capable of beeing set to transparent
background, only subforms are missing this capability. Maybee this might be
a good proposal for Microsoft for Access 2005.

Thanks for your suggestion.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top