When certain actions occur, an event will be fired. This will cause a user defined function to be called. The function takes a single parameter, which is an array containing the following elements:
onClose | onDblClick | onEvent | onGetFocus | onHeaderSelect | onKeyDown | onKeyUp | onMainEvent | onMouseDown | onMouseMove | onMouseUp | onRedraw | onResize