Promotic
WikipediaLinkedInYoutubeTwitterFacebook

AddEvent - method of object PmfObject

Description:
Registers a function into selected event.
Syntax:
Empty AddEvent(String sEventName, Function Func)
Calling:
oPmf.AddEvent("onXXX", function(ev){})
Parameters:
sEventName(String) Event name of the corresponding Pmf object.
Func(Function) The function will be called when the event is triggered.
Note:
This method is also functional in Web panels.
 
This method is functional only for JavaScript language.
Example:
See examples in events PmfButton.onAction, onEditAccept etc.

History:
Pm9.00.07: Created
PROMOTIC 9.0.8 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice