Jump to content
Sign in to follow this  

Help With Buttons

Recommended Posts


Hey, im making a GUI that has several tabs with button on each. I need to know how to make a button run a program when clicked.

Share this post

Link to post
Share on other sites

i'll give you a general idea how to make use of buttons ;)

$varButton = GUICtrlCreateButton("TEST", 0, 0)

While 1

    $msg = GUIGetMsg()

    if  $msg = $varButton  Then
        ;insert what you want it to do here

not pretty but atleast u 'know' how to do it now and what to look for in the help file :whistle:

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.