Sign in to follow this  
Followers 0
SirDarknight1200

Need some answers to questions

3 posts in this topic

1.

#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)
GUISetState(@SW_SHOW)


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


WEnd

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??

 

2.

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

Capture.png

3.

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

3.

 

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.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          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  
Followers 0