electrico Posted May 6, 2009 Posted May 6, 2009 Hi colleagues! I am a newbie, and I have a new noob question. Problem is - to make last checkbox option colored (red). I searched through google, I tryed with my own ideas, - but nothing. Here is a program text attached as au3 file and please, can you describe me HOW TO FIND the f**** controlID of the object, and actually in this attached code - how to make option "Pashka" red. Thank you very much!AutoIt_v3_Script.au3
Valuater Posted May 6, 2009 Posted May 6, 2009 #include <GUIConstantsEx.au3> GUICreate("AGLONA Party 2009", 800, 520) GUICtrlCreateGroup("Tusovka", 45, 30, 210, 260) GUISetBkColor(0x00E0FFFF) $CheckBox1 = GUICtrlCreateCheckbox("Oleg", 70, 45, 100, 20) $CheckBox2 = GUICtrlCreateCheckbox("Romanich", 70, 75, 100, 20) $CheckBox3 = GUICtrlCreateCheckbox("Zenjka", 70, 105, 100, 20) $CheckBox4 = GUICtrlCreateCheckbox("Shurik", 70, 135, 100, 20) $CheckBox5 = GUICtrlCreateCheckbox("Petro", 70, 165, 100, 20) $CheckBox6 = GUICtrlCreateCheckbox("", 70, 195, 17, 17) GUICtrlCreateLabel("Pashka", 87, 197, 100, 20) GUICtrlSetColor(-1, 0xff0000) GUICtrlCreateGroup("Rasschet produktov", 300, 30, 480, 260) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd 8)
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