Sign in to follow this  
Followers 0
Markus

Function Question

3 posts in this topic

Hi!

If i have GUISetOnEvent:

GUISetOnEvent($button1,"_test")

I can't do something like this?:

GUISetOnEvent($button1,_test(1))

GUISetOnEvent($button2,_test(2))

GUISetOnEvent($button3,_test(3))

GUISetOnEvent($button4,_test(4))

That every button has the same function, but with another parameter


"It's easier to disintegrate an atom than a prejudice." (A.Einstein)---------------------------------------------------------------------------My C++ - tools:Tidy tool-->indents your c++ sourceCleanscript --> cleans autoit-code before compiling (co-author: peethebee)My tools:GUIBuilder-->build your window and get the source; german versionMy Games:OnlineGameCenter-->Online Chess and Connect4 with a rtf-chatSnake-->including a level editor to build your own levelsTetris-->the well known game, big funOther things:Tower of Hanoi-->perfect riddler with graphic output

Share this post


Link to post
Share on other sites



Nopper... we have tried it before...

i am sure it has not been done

8)


NEWHeader1.png

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