Jump to content

Search the Community

Showing results for tags 'checkbox white text button'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi everyone, I'm trying to make a check box which uses white text insted of the standard black, now as far as i know, that cannot be done directly. So i've made a check box with no text, and then white text next to it, and when i click the text i want it to check the checkbox, just like you'd normaly expect from text next to a check box. My problem is that it's slow, you cannot click it and then unclick it with in the same second. Can anyone help me out here? any help would be appreciated? #include GUICreate("GUI",300,200) GUISetBkColor(0x333333) $Checkbox = GUICtrlCreateCheckbox("", 8, 49, 15, 15) $Checktext = GUICtrlCreateLabel("Click the text", 27, 48, 130, 20, 0) GUICtrlSetFont($Checktext, 12, 1000, 0, "Verdana") GUICtrlSetColor($Checktext, 0xFFFFFF) GuiSetState() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Checktext _CheckUncheck($Checkbox) EndSwitch WEnd Func _CheckUncheck($Thingtocheckuncheck) If GUICtrlRead($Thingtocheckuncheck) = $GUI_CHECKED Then GUICtrlSetState($Thingtocheckuncheck, $GUI_UNCHECKED) ElseIf GUICtrlRead($Thingtocheckuncheck) = $GUI_UNCHECKED then GUICtrlSetState($Thingtocheckuncheck, $GUI_CHECKED) endif EndFunc
×
×
  • Create New...