Jump to content

gui quickie


onedayillpay
 Share

Recommended Posts

i hope you will understand me...

want i need to do is, case $Button_1 is pressed then case $Checkbox_2 is checked then msgbox(0,"tittle",text")

#region --- GuiBuilder code Start ---
; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Button_1 = GuiCtrlCreateButton("Button1", 110, 10, 90, 40)
$Checkbox_2 = GuiCtrlCreateCheckbox("Checkbox2", 150, 70, 20, 20)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
        ;;;
    EndSelect
WEnd
Exit
#endregion --- GuiBuilder generated code End ---

lol

Link to comment
Share on other sites

i hope you will understand me...

want i need to do is, case $Button_1 is pressed then case $Checkbox_2 is checked then msgbox(0,"tittle",text")

#region --- GuiBuilder code Start ---
; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$Button_1 = GuiCtrlCreateButton("Button1", 110, 10, 90, 40)
$Checkbox_2 = GuiCtrlCreateCheckbox("Checkbox2", 150, 70, 20, 20)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
        ;;;
    EndSelect
WEnd
Exit
#endregion --- GuiBuilder generated code End ---

 oÝ÷ ÚZ%þ«¨µà,²ç!Ê°®^¶¥¢ËÞ¯+")Z­Ê%¢º
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...