Jump to content
Sign in to follow this  

Need some answers to questions

Recommended Posts



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

$Form1 = GUICreate("Form1", 615, 438, 192, 124)
$Checkbox1 = GUICtrlCreateCheckbox("Test1", 24, 32, 81, 25)
$Checkbox2 = GUICtrlCreateCheckbox("Test2", 24, 72, 81, 33)
$Radio1 = GUICtrlCreateRadio("Test3", 192, 32, 81, 25)
$Radio2 = GUICtrlCreateRadio("Test4", 192, 80, 57, 17)
$Button1 = GUICtrlCreateButton("Button", 152, 288, 193, 25)

While 1
    $msg = GUIGetMsg()
        Case $msg = $GUI_EVENT_CLOSE
        Case $msg = $Checkbox1
            MsgBox( 0, "Test", "HHHH")


Is it possible that the action used in $Checkbox1 will only work after the button is press?

When I'll check the checkbox, it will open a msgbox, but how can I do that if the checkbox is checked and the button is pressed then it will open the msgbox, but if the checkbox is unchecked then nothing will happen after pressing the button??



How can I design the buttons,borders etc. without any manual skin?



What is #AutoIt3Wrapper

Share this post

Link to post
Share on other sites

1) Look into GuiCtrlGetState and $GUI_CHECKED / $GUI_UNCHECKED

2) Iono

3) It's a script that allows how an AUtoIt script is ran/compiled by way of #directives at the top of the script.

Share this post

Link to post
Share on other sites



What is #AutoIt3Wrapper

It is part of the Full version of SciTE4AutoIt3 and performs all special tasks around AutoIt3; AUT2EXE and the tools that come in the installer.


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
Live for the present,
Dream of the future,
Learn from the past.

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