Jump to content

Recommended Posts

Posted

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)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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

    EndSwitch
WEnd

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...