OLE control events provide a way for the OLE control to communicate back to OpenInsight. Once an event has been qualified using OI's QUALIFY_EVENT message, then the OLE control will fire the event to OpenInsight allowing you to respond to any one of the control's predefined actions. Some events allow you to stop certain actions before they occur, so be sure to read the Remarks section of each event carefully. The following events apply to the SRP Button Control:

Event
Description
Version Introduced
GotFocusDeprecated, use OnGotFocus instead.Deprecated
LostFocusDeprecated, use OnLostFocus instead.Deprecated
OnGotFocusFired when the control receives input focus.3.1.0
OnLostFocusFired when the control loses input focus.3.1.0
OnClickFired when the user clicks on the button. 
OnContextMenuFired when the user clicks the button's custom context menu. 
OnContextMenuClickFired when a menu item on the custom context menu is clicked 
OnMouseEnterFired when mouse enters the control. 
OnMouseExitFired when the mouse leaves the control. 
  • No labels