Alternate backgroundcolor width

bodylojohn

Registered User.
Local time
Today, 16:32
Joined
Dec 28, 2005
Messages
205
Hello,

Access 2007 has the neat feature where you can set the alternate backgroundcolor in the details section of your form.
This is very handy but how do I prevent the backgroundcolor from spreading all over the width of the page?
 
Place a Rectange control on the form. Place control within that rectangle. Set the rectangle z-index to lowest number. and set its color.
 
Delete: Duplicate post.
 
Place a Rectange control on the form. Place control within that rectangle. Set the rectangle z-index to lowest number. and set its color.

Thanks for yur help but I do not understand you.
Could you please explaine?
 
Basicly, you can use a "Rectangle" control as background.

q1.gif


Effect

q2.gif
 
Aikea, thanks for your reply bro but I am afraid we ere not on the same page ;-)

In the detailssection of a continious form you can set the backgroundcolor for the alternating row.
However I want the backgroundcolor of the detailssection only to be a certain width and not span over the total width of the page.

I hope I clarified myself.

Thanks again bro.
 
Aikea, thanks for your reply bro but I am afraid we ere not on the same page ;-)

In the detailssection of a continious form you can set the backgroundcolor for the alternating row.
However I want the backgroundcolor of the detailssection only to be a certain width and not span over the total width of the page.

I hope I clarified myself.

Thanks again bro.

What you want to do cannot be done unless you use another object as Aikea suggested. The form detail is one object, you can't tell part of that object to behave one way and part to behave another way.
 
Same thing, Use a rectangle to contain your controls in details area. Make sure the rectangle is well sized:

p1.gif


p2.gif


Or you can put two rectangles to cover edge

p3.gif


Make sure the rectangle color is different to detail background color

p4.gif
 
Last edited:
Thank you guys,

Aikeas last solutions works like a charm.

I put 2 rectangles on the form.
You dont even see a difference in background color.
My detailbackgroundcolor is #FFFFFF
And I made the color of the rectangle #FFFFFE

You dont even see the difference.

Thanks guys.
 

Users who are viewing this thread

Back
Top Bottom