
08-26-2008, 08:33 PM
|
|
Incubator
|
 |
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
|
|
onCall Event
|
I was thinking that an object.onCall() event would allow you to define what happens when you call object() like a function. Obviously this would be a blocking event. I haven't yet decided what I could use it for but I thought it might be nice.
Edit:
And some other things I mentioned before:
A throwevent(objectname, eventname, params...) that throws an event that can be caught with catchevent() like it does with Gui Controls.
onGetVariable() and onSetVariable() events that would allow you to define function behavior for certain variables. Obviously there would need to be some way to specify which variables are included in this. |
|
|
|