BALA Posted May 12, 2007 Share Posted May 12, 2007 I want to create an input control that is READONLY, but has the normal white color rather than being greyed-out. So I think $DS_SETFOREGROUND is what I want to use, but how do I use this style? [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 13, 2007 Share Posted May 13, 2007 I want to create an input control that is READONLY, but has the normal white color rather than being greyed-out. So I think $DS_SETFOREGROUND is what I want to use, but how do I use this style?I don't think that particular style has anything to do with foreground color. It's a dialog box style related to desktop foreground (like always on top). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
BALA Posted May 13, 2007 Author Share Posted May 13, 2007 (edited) Oh, I suppose I've been out of AutoIt too long. Well how would I set the color of an input control? Edited May 13, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
poisonkiller Posted May 13, 2007 Share Posted May 13, 2007 Try GUICtrlSetBkColor ( $input, 0xFFFFFF) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now