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 Tree Control:

EventDescriptionVersion Introduced
BeforeUpdateFires when the user completes an item edit but before the changes are applied.4.0.1
AfterUpdateFires when the user completes an item edit and the changes have been applied.4.0.1
OnBalloonClickFires when the user clicks on a balloon tooltip. 
OnCharFires when the user presses a character key. 
OnClickFires when the user clicks on the control. 
OnContextMenuClickFired when a menu item on the custom context menu is clicked. 
OnDblClickFires when the user double clicks on the control. 
OnDragEnterFires when the user drags tree items into the control area. 
OnDragExitFires when the user drags tree items out of the control area. 
OnDragStartFires when the user starts to drag tree items. 
OnDropFires when the user drops tree items onto the control. 
OnEditAbortFires when the user aborts an item edit so no changes are applied.4.0.1
OnGotFocusFired when the control receives input focus.3.1.0
OnItemCheckFires when the user checks or unchecks an item. 
OnItemCloseFires when the user clicks an item's close button.4.0.3
OnItemExpandFires when the user expands or collapses an item. 
OnLostFocusFired when the control loses input focus.3.1.0
OnModifyKeyFires when the user presses a modification key. 
OnMouseEnterFired when mouse enters the control.3.1.0
OnMouseExitFired when the mouse leaves the control.3.1.0
OnSelChangeFires when the user changes the selection. 
OnVScrollFires when the user scrolls the tree vertically. 
  • No labels