Hello, I have an application where I set the color of a text field background. the color seems to change slightly in shade from computer to computer. I just want to set my text field background to the same greyish color as the window and toolbar have. is there a way to get this grey color so that my text field background is the same color as the window frame and border? thanks.
Jeff
···
Yahoo! Shopping
Find Great Deals on Gifts at Yahoo! Shopping
Friday, December 2, 2005, 9:07:58 PM, Jeff Peery wrote:
(...) I just want to set my text field background to the same
greyish color as the window and toolbar have. is there a way to get
this grey color so that my text field background is the same color
as the window frame and border? thanks.
Take a look at wx.SystemSettings.GetColour(index) in the docs.
Probably the index you're looking for is
wx.SYS_COLOUR_WINDOWFRAME.
-- tacao
No bits were harmed during the making of this e-mail.