Vai al contenuto

Custom events

As with properties, events can be published, assigned names of choice and associated to one or more component events within the WB.When one of the related events is active, the custom event will be generated. If the WB user has associated the custom event with one or more actions, these will be performed.Note: custom events are run within the WB at the same time as standard events. For example: if there is a DataDisplay in the WB with an action programmed on the “onMouseClicked” event (e.g. a script) and the WB publishes a “myClick” event associated to the same event (onMouseClicked of the DataDisplay), the “onMouseClicked” internal event will be run first, afterwhich any external “myClick” events will then be launched (if connected by the user).The “WB events” menu, next to the “WB properties” menu, should be used to create a custom event. Within the customization window, a name can be assigned to the event and linked to one or more events contained in the components. Custom events-image_0