Sign in to follow this  
Followers 0
layer

My new Tray Manager

4 posts in this topic

I'm making a Tray Manager and need some help...I have all of the basic code needed to run it except when using GUICtrlCreateButton, and you make the button, how do you make it so when it's pressed, it does something! I've used "If ControlClick ("the stuff", "here") then the command" but that doesnt work..i will show you the code after i finsih it, very soon :)

Any suggestions?


FootbaG

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Come on guys, this is really easy, but not for me... =(

I just want it so that when you click a GUICtrlButton it does something, do you get it? I can make the buttons but when I make them they have no uses, how do I make it so that when you click it it does something?

If you need anymore detail, just ask...

*PS* heres a little example...

GuiCtrlCreateButton ("TEST", -1, -1)
Now what comes here?

Now how do I make it user interactive?

Edited by layer

FootbaG

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

heh, yes, i did, but that doesnt explain how to make the button so that when it is clicked, it does something, it just shows you how to make the button itself...

oops, im smart, GUIRead ()

sorry for the inconvienence here folks, and thank you for the help, maybe i should start reading the return values huh? =P

*EDIT* i actually wanted GuiCtrlSetOnEvent

but i got it so its good now, sorry and thanks! :)

Edited by layer

FootbaG

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