Changing background wallpaper tiles

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to create a macro/button in Access 2000 so that my end-users can change the background image (wallpaper tile or .jpg picture) on the switchboard/opening form? If that's possible, is it also possible to change the button .bmp picture files too? The purpose is to create 2 or 3 "themes" for the end users to use on their programs

Thanks anyone for your help

BT
 
The usual way of doing things like this is to create a Preferences or
Options form, and have a checkbox/textbox combination to specify whether a
picture is used on forms, and if so, where the picture is. To use this
approach, you will need to read up on SaveSetting and GetSetting (see the
online Help). Also, in every form where this facility is to be made
available, you will need to write code to check the value of the key you
stored in the Registry (using SaveSetting), and set the form's Picture
property as appropriate.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia

Microsoft Access 2003 VBA Programmer's Reference
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764559036.html


BT said:
Is it possible to create a macro/button in Access 2000 so that my
end-users can change the background image (wallpaper tile or .jpg picture)
on the switchboard/opening form? If that's possible, is it also possible to
change the button .bmp picture files too? The purpose is to create 2 or 3
"themes" for the end users to use on their programs.
 
All you need to do is to set the picture attribute of the
for/button to the location of the bitmap

ie me.button.picture = "C:\test.bmp"
 
Back
Top