van Dusen Posted March 5, 2006 Posted March 5, 2006 Hello,I'am new to this forum and I like to introduce myself with a stupid question :"> :How can I get CheckBox controls with TriState style work? Of course I searched the forum, but I didn't find a solution yet.When I run this sample script...#include <GUIConstants.au3> $frmDia = GUICreate("TriState CheckBoxes", 270, 180, -1, -1) $chkStandard = GUICtrlCreateCheckbox("Standard CheckBox", 10, 10, 250, 30) $chkTriState1 = GUICtrlCreateCheckbox("$BS_3STATE", 10, 50, 250, 30, $BS_3STATE) GUICtrlSetState($chkTriState1, $GUI_INDETERMINATE) $chkTriState2 = GUICtrlCreateCheckbox("$BS_AUTO3STATE", 10, 90, 250, 30, $BS_AUTO3STATE) $chkTriState3 = GUICtrlCreateCheckbox("BitOR($WS_TABSTOP, $BS_AUTO3STATE)", 10, 130, 250, 30, BitOR($WS_TABSTOP, $BS_AUTO3STATE)) GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;*** NOP EndSelect WEnd...I get this result:I'm using AutoIT V3.1.1.0 on WinXP HE SP1.Thanks in advance for any help!
Moderators SmOke_N Posted March 5, 2006 Moderators Posted March 5, 2006 I get the check boxes with XP PRO SP2 - Using Beta. http://www.autoitscript.com/autoit3/files/beta/autoit/Other than that, I have no clue how your getting Groups. 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.
van Dusen Posted March 6, 2006 Author Posted March 6, 2006 Seems to be a bug in V3.1.1.0. I've installed V3.1.1.111.beta now, that does the trick. Thanks SmOke_N for pointing me out to the beta version (I didn't dare to use any beta version earlier) !
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