Added function SetVariableEvents to AXInstance