Jump to content
Sign in to follow this  

How can I change checkbox font's color?

Recommended Posts

Hi. How can I change checkbox font's color? I've tried with koda, and in koda I can change it, and view the changes, but when I generate that code into scite, font's color is changed back to black color even if there is still the corect code:

#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("AForm1", 631, 551, 193, 115)
$Checkbox1 = GUICtrlCreateCheckbox("ACheckbox1", 40, 56, 297, 41)
GUICtrlSetFont(-1, 18, 400, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0xFFFF00)
GUICtrlSetCursor ($Checkbox1, 0)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE


the checkbox font should be yellow, but it's not... it's black...

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...