Programmer's Guide > Interfaces > ToolBarEvent interface > initToolBarEvent method
  
initToolBarEvent method
Initializes the value of a ToolBarEvent created through the WindowcreateEvent method. This method should only be called before the ToolBarEvent has been dispatched with the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
initToolBarEvent(typeArg, canBubbleArg, cancelableArg)
Parameters
StringtypeArg
Specifies the event type.
booleancanBubbleArg
Specifies whether or not the event can bubble.
booleancancelableArg
Specifies whether or not the event's default action can be prevented.
Returns
void