Inherited from the ItemEvent object. Contains information about the current ItemEvent and the drag position.
//After you enable the cockpit, when you drag an item, the event named ItemDragEvent will be raised. private void SBO_Application_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent) { BubbleEvent = true; if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_Drag) { SAPbouiCOM.ItemDragEvent pItemDrag; pItemDrag = (SAPbouiCOM.ItemDragEvent)pVal; if (pItemDrag.TargetFormUID.CompareTo("") != 0) { oString = pItemDrag.TargetFormType; string formuid = pItemDrag.TargetFormUID; int mytop = pItemDrag.Top; int myleft = pItemDrag.Left; } } }
ItemDragEvent Members