Sign in to follow this  
Followers 0
Drew

Question - Check Boxs

2 posts in this topic

Alright. This is annoying the mess out of me, so please help if you can.

ALL I wanna do is change the color of the TEXT on a checkbox thing. I can change the background no problem , but I want the background to be Black , and the text to be red.

Well everytime I try this , the text still shows black... which you can't see because the background is black. Anyone know how to correct this?

Idk how much help this will be , as I did my background with Paint... But heres the script.

EDIT: Idea. I think I'm going to include a screenshot of what I see. ( That'll have my background , which you'll can't see because the .bmp is on my computer.

Here's the Screenshot.

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 723, 279, 183, 125, BitOR($WS_POPUP,$WS_CLIPSIBLINGS), 0)
GUISetBkColor(0x800000)
$ReadMe = GUICtrlCreateButton("Read Me", 176, 136, 121, 33)
GUICtrlSetFont(-1, 14, 800, 0, "Palatino Linotype")
$Label = GUICtrlCreatePic("C:\Documents and Settings\Dreu\Desktop\D2War_Banner2.bmp", -24, -8, 745, 233)
$PrivateGame = GUICtrlCreateCheckbox("Private Game", 408, 216, 169, 49)
GUICtrlSetFont(-1, 14, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFFFFFF)
GUICtrlSetBkColor(-1, 0x000000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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

    EndSwitch
WEnd

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  
Followers 0