Jump to content

Need some answers to questions


Recommended Posts

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

Link to comment
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.

Link to comment
Share on other sites

  • Developers

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

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...