-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At 10:15 AM 7/18/2003, you wrote: >Hi, > >I mostly use Win32::GUI::Loft to build screens. The power of this app is >really impressive and, while it doesn't match the full power of Win32::GUI >alone, it sure makes building screens a lot easier! > >I have one occasion where I would like to change the text font color on a >label after the label has been created. I'm fairly certain that this can >be done with the $object.Change(HANDLE, %OPTION) command or >$object.SetFont(FONT) command, but I can't seem to get a syntax that >actually changes the color after the object has been created. Does anyone >know how to do this? > >Also, is it possible to change the background color for the text area on a >combo box after creation? I have some code that uses two combo boxes >together. Ideally I'd like to be able to change the background from >normal white to either red or green (and back in some circumstances) based >on a bunch of unrelated conditions.
I'm just a novice at this but so far everything is pretty much consistent with VC++. I believe your problem may be that you need $window->Show() after you change fonts or other visible properties. At least that is the way it works with VC++. Maybe that will help until a real expert replies. -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> Comment: Be sure to use my most recent key - created 6/16/03 iQA/AwUBPxgJpP34lmKmdrVUEQJmnACfcDHtHe4KlXzYYE8cg+bezQHzK1MAoN8t 1UdWJIeSYrcK03fqAypLBQEC =KsRl -----END PGP SIGNATURE-----