Description
The event type, specifying the action performed on the widget.
Property type
Read-only property
Syntax
Example
| Setting the Event Type When You Create or Close a Widget (C#) | Copy Code |
|---|
void SBO_Application_WidgetEvent(ref SAPbouiCOM.WidgetData pWidgetData, out bool BubbleEvent) If (pWidgetData.EventType == SAPbouiCOM.BoWidgetEventTypes. wet_content_save) { //This event is raised when SAP Business One is being closed oWidget.SetValue(“URL”, “www.google.com”); oWidget.SetValue(“BPCode”, “i001”); } if (pWidgetData.EventType == SAPbouiCOM.BoWidgetEventTypes.wet_created) { String bpcode = oWidget.GetValue(“BPCode”); oEditText.string = bpcode; }
|
|
See Also