Author Topic: Calling a function on click  (Read 3517 times)


Cool, I appreciate you humoring me.  I'll take a look at this when I get home.

Looks like you're in a pickle.
lol


So, are you trying to make it when you have a gui open and click anywere it calls a funtion, I'm not quite sure what you mean...

Not anywhere, in a certain place.

Do you want it to know were you click in a big area?

MrPickle, either post here a more detailed explanation of what you're wanting to do or PM me with the details.

If you click in the red box a function is called. The whole box is a gui

+-------------+
|                   |
|             +---+
|             |     |
|             |     |
+---------+---+

Why are you resistant to just use a button?

Yeah, I'd just use a GuiBitmapButtonCtrl with a fully trans PNG as the image.

Erm, I don't know :S.

Ok, I could use a button, I'm not thinking straight :D

Or you could say you're no longer in a pickle. :cookieMonster:

but then he'd be a guy fired from dancing outside a grocery store in a pickle outfit...

K, no longer in a pickle. Locked.