View previous topic :: View next topic |
Author |
Message |
bane
Joined: 01 May 2007 Posts: 41 Location: Pancevo, Serbia
|
Posted: Tue May 22, 2007 2:49 am Post subject: A question - how to catch property change event? |
|
|
Lets say ou have a code like
Code: |
class MyClass {
int x;
float y;
}
MyClass a = new MyClass();
a.x = 5;
|
I need to catch event (call a func or something like that) when you change (set) value for x property of a class.
Or to generalize, any property of any class or struct.
Is it possible? _________________ "I apologize only for my spelling" - a quote shamelessly stolen from some guy at unknown forum. |
|
Back to top |
|
|
Extrawurst
Joined: 14 Mar 2007 Posts: 41
|
|
Back to top |
|
|
bane
Joined: 01 May 2007 Posts: 41 Location: Pancevo, Serbia
|
Posted: Tue May 22, 2007 5:22 am Post subject: |
|
|
Thanx, Extrasausage _________________ "I apologize only for my spelling" - a quote shamelessly stolen from some guy at unknown forum. |
|
Back to top |
|
|
|