Jump to content

My new Tray Manager


layer
 Share

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
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...