Delta Posted June 11, 2008 Share Posted June 11, 2008 Is it possible to set the color of the checkbox test? [size="1"]Please stop confusing "how to" with "how do"[/size] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 11, 2008 Moderators Share Posted June 11, 2008 Is it possible to set the color of the checkbox test?Is the test graded? ... lol just kidding. Use a label for the text. Func _GUICtrlCreateCheckbox($sText, $nLeft, $nTop, $nWidth, $nHeight, $nColor) Local $aCkBoxEx[3] $aCkBoxEx[1] = GUICtrlCreateCheckbox('', $nLeft, $nTop, 13, 13) $aCkBoxEx[2] = GUICtrlCreateLabel($sText, $nLeft + 20, $nTop, $nWidth, $nHeight) GUICtrlSetBkColor($aCkBoxEx[2], $nColor) Return $aCkBoxEx EndFunc Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Delta Posted June 11, 2008 Author Share Posted June 11, 2008 thank you and yes the test is graded [size="1"]Please stop confusing "how to" with "how do"[/size] 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