Hello!
Cant seem to find any info on this in the forums, so I'l ask then
In c# I have the ability to define a custom event like this:
and then subscribe to that event like this:
and then we can invoke it like this for example:
Is there a similar concept in B4J?
/Ronny
Cant seem to find any info on this in the forums, so I'l ask then
In c# I have the ability to define a custom event like this:
C#:
public event EventHandler MyEvent;
and then subscribe to that event like this:
C#:
myObject.MyEvent += new EventHandler(myObject_MyEvent);
and then we can invoke it like this for example:
C#:
MyEvent?.Invoke(this, e);
Is there a similar concept in B4J?
/Ronny