Results 1 to 7 of 7
  1. #1
    3 Star Lounger
    Join Date
    Sep 2002
    Location
    London, England
    Posts
    294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Non Standard Form Background (2000)

    I have been asked to change the form background on all the forms in an application to a blend, moving from light blue at the bottom to white at the top. I guess what I have to do is create an image, save it as a bmp file then associate this with the Picture property of each form. Is there a quick way to do this to all the forms in one go or do I have to go into each one and change them individually? Is there a way of doing this by setting up a new Autoformat? This might allow me to change the background colour of all my text boxes at the same time.

    Also, the existing Autoformat called 'Blends' looks very grainy. Is this a limitation of the way Access renders graphics or is the graphic used in the Blends Autoformat really like that?

    Ian

  2. #2
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: Non Standard Form Background (2000)

    Have a look at <post#=259906>post 259906</post#> It has a couple of suggestions.
    Regards
    John



  3. #3
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Non Standard Form Background (2000)

    I think the biggest problem with blends is that is is trying for a very light shading, which means that it can't help but be "grainy". Of course, the fact that it's a bitmap image doesn't help. Your best best might be to play with a graphics program until you get something approximating the look you want and then see how that looks on a form background. Once you create the image, you can stretch it to fit any of your forms, but stretching will also affect the appearance.
    Charlotte

  4. #4
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Non Standard Form Background (2000)

    This attachment may help you on your way.
    Supplied by hans some time ago, it will change all text's, box's etc etc.
    Just import the form and change the design to your preference.
    I'm sure if you mess about with the coding, you'll manage to achieve what you need.

    Another way to insert a background pic to your forms is to create a standard module.
    Insert the following code into it:

    Global Const ImgLocation = "C:MyPicturesBackground.Jpg"

    Name it something like modBGpic[/b]

    And in the OnLoad() property of each form you want to set the background pic, put:

    Me.Picture = ImgLocation

    You'll have to create your pic and keep it in one particular location and change the path in the module to suit.
    Attached Files Attached Files

  5. #5
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Non Standard Form Background (2000)

    I don't think there is a quick way. Let me tell you how I handle such a situation. I happen to have 1 form that is open all the time (but is not usually visible). I did embed my background picture in that form. For every other form, however, I just put this line in each form's OnOpen event:
    Me.PictureData = Forms!fsysCompany.PictureData

    This has 2 distinct advantages. First, it uses less room in the database since I'm not embedding the image into every form. Secondly, it is very easy to change the background for all the forms; I merely have to change it for one form.
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  6. #6
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Non Standard Form Background (2000)

    That's a clever trick, Mark. Thanks for posting it.
    Charlotte

  7. #7
    3 Star Lounger
    Join Date
    Sep 2002
    Location
    London, England
    Posts
    294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Non Standard Form Background (2000)

    Some great tips. Thanks to everybody.

    Ian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •