[AccessD] A2003:Determining Background colour of the desktop

Darren DICK darrend at nimble.com.au
Sun Feb 4 16:26:33 CST 2007


Stuart

Work of genius - well done and thanks

Darren
------------------

-----Original Message-----
From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] 
Sent: Friday, 2 February 2007 9:16 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] A2003:Determining Background colour of the desktop

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


-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list