Jump to content
Sign in to follow this  
DeviousDude

Button Events

Recommended Posts

DeviousDude

Hey i am new to this and i was wondering if anybody could help me with how to do button events??

Share this post


Link to post
Share on other sites
billthecreator

#include <GUIConstants.au3>
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
                Case $Button1
                   $File = FileOpenDialog("Browse","","All(*.*)")
    EndSwitch
WEnd

Edited by billthecreator

[font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap

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  

×