Background Color

BobbyGraves

Registered User.
Local time
Today, 05:05
Joined
Nov 7, 2012
Messages
15
Hi folks,

I designed a form on my local PC. Let's call this FormDev. In that environment, the "Normal" background style on buttons is shaded from lighter at the top to darker at the bottom. However, when I export a copy of the form (let's call this FormReal) to the real database on a remote server and open it from my PC, buttons are just a flat grey. I'll spare you the details, but this turned out to be a bit of an issue, albeit a small one.

My developing database and the real database are both in the Access 2002-2003 file format.

I first thought that this was a function of the OS. I vaguely recall somewhere where you can choose color schemes for various things, like title bars, scroll bars, and buttons...and that these color schemes become increasingly nuanced with each new version of Windows. I figured that the file server had an older OS. However, in thinking about it, why would that translation happen at the file server? Also, strangely enough, other controls, like the down arrow of a combo box exhibit the more nuanced shading on FormReal. So, regardless of where that kind of thing is translated, obviously that background style is available.

Any ideas about a cause or solution? Inquiring minds and all that. ;)
 
There is an option (Tools/Options Form tab I think) to use 'Windows-Themed Controls on forms'. It sounds like this maybe ticked on one of your setups and not ticked on the other - or it may be that it is ticked on both but the Windows theme is different.
 
Brilliant! That fixed it. Thank you kind sir. The "real" database didn't have that option checked.

Strange that that only seems to affect buttons. Everything else (combo boxes, scroll bars, etc.) seems to use the Windows based theme, even when that option is unchecked.

And BTW, for Access 2007, it's under Access Options/Current Database.

Cheers
 

Users who are viewing this thread

Back
Top Bottom