xwing1978 Posted March 15, 2005 Posted March 15, 2005 I attempted to create a three-state check box using the following code (this is an excerpt): $Checkbox_2 = GuiCtrlCreateCheckbox( "Checkbox2", 30, 50, 140, 20, $BS_3STATE ) When the script is run, there is no check box but a group where the checkbox should be. Am I missing something???
Holger Posted March 15, 2005 Posted March 15, 2005 Hi xwing: this is normal cause when you create a checkbox then AutoCheckBox-Style is forced (like in the helpfile described). Maybe we should change this behaviour... Here is what you can do at the moment to solve this thing: $Checkbox_2 = GuiCtrlCreateCheckbox( "Checkbox2", 30, 50, 140, 20) GUICtrlSetStyle(-1, $BS_AUTO3STATE ) Regards Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView
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