Ui Global Events
Posted: Fri Jun 15, 2018 5:41 pm
Hello,
is there a way to create Ui Global events when using uiConnect ? I know I can create custom event , but in my case it would be really helpful to have a Ui Global event (not the ones pre-defined).
In alternative, is it possible to create custom events with implementation right in the OOP class ?
Let me explain better:
When creating an event in a OOP with
#event myEvent(bool b)
there is no way to create an implementation of the event. You can only do it when the OOP is instantiated. At that point in the Extended tab you'll have the myEvent available to be implemented.
What I would like to have is to implement the event in the design of the OOP , thus all the object of that class will have the same event. Think about instantiating a large number of objects of the same OOP class and implement all the custom event for each one !
Thank You
is there a way to create Ui Global events when using uiConnect ? I know I can create custom event , but in my case it would be really helpful to have a Ui Global event (not the ones pre-defined).
In alternative, is it possible to create custom events with implementation right in the OOP class ?
Let me explain better:
When creating an event in a OOP with
#event myEvent(bool b)
there is no way to create an implementation of the event. You can only do it when the OOP is instantiated. At that point in the Extended tab you'll have the myEvent available to be implemented.
What I would like to have is to implement the event in the design of the OOP , thus all the object of that class will have the same event. Think about instantiating a large number of objects of the same OOP class and implement all the custom event for each one !
Thank You