Share via

Need to create a gradient background in Access 2010...

Anonymous
2011-01-10T19:19:34+00:00

I am working in Access 2010 and I am trying to create a gradient (two color) background in my form header. I am also trying to create a bar, similar to the ones used in "Microsoft Access 2010 Templates - Forms", in which I can use for my toolbar; to host my command buttons.

I am really fascinated with the design of the templates and I have been struggle to figure out how to create similar.

I understand that there is a big advantage if you are somewhat familiar with VB; unfortuantely, I am not familiar with VB nor am I a programmer.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2011-01-11T19:32:52+00:00

    Hi Jale01,

    I believe most of the templates use a background image on the form to make it look as if they are using two colors within the form header. To see this, you can do the following:

    +>Open Access 2010.

    +>In the Office.com Templates section, click on the Samples folder and then download the standard Northwind sample database.

    +>With the Northwind database open, open up one of the forms in design view. For example, the Customer Details form.

    +>Once in design view, bring up the Form Properties window. To do this, right click on the form and choose Form Properties.

    +>The properties dialog should now be displayed and it should be showing the form properties. Click on the Format tab in the properties sheet.  If you look at the Picture property, you will notice it is shows Image. If you delete the value for this property and then view the form, you will notice the form header really only has one background color set.

    Hopefully that helps.

    Best Regards,

    Nathan Ost

    Microsoft Online Community Support


    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-11-11T17:00:00+00:00

    Those templates often use a background image. So if you look at FORMS setting you see that image.

    And the "how" of this gradient expanding when you re-size the application is done by control anchoring. So no VB code skills required.

    Another means to get a gradient for the whole form that I often use is Stephan Lebans code here:

    http://www.lebans.com/gradientfill.htm

    While the above code is very old, it still works in Access 2010. The above will likly require some VB skills.

    Best regards,

    Albert D. Kallal (Access MVP)

    Edmonton, Alberta Canada

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2013-11-11T10:59:15+00:00

    I encounter a similar task and made use of a disabled command button control that I move to the background.

    Beside other formating option Access allows you to choose a gradient color for the button control.

    HTH

    Bodo

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-01-15T00:58:11+00:00

    Thanks Nathan,

    At least I have some direction now.

    Was this answer helpful?

    0 comments No comments