[AccessD] A2003:Determining Background colour of the desktop

Stuart McLachlan stuart at lexacorp.com.pg
Thu Feb 1 16:16:14 CST 2007


On 2 Feb 2007 at 8:47, Darren DICK wrote:

> Does anyone know how to determine the background colour of the desktop?
> 
> I have a form I want to set its background colour to match

Look up "System Color Constants" in VBA Help (remember to omit the "u" <g>)

Specifically "vbDesktop 0x80000001 Desktop color "

So set the Detail Backcolor property to  &H80000001 or to -2147483647


-- 
Stuart





More information about the AccessD mailing list