📚 SAP Business One SDK Help

BoEventTypes Enumeration
See Also 

Description

Item, form data, right-click, print, and report data event types.

All events are item events, unless otherwise indicated in italics in parentheses.

Members

MemberValueDescription
et_ALL_EVENTS0All events, for use when filtering events
et_ITEM_PRESSED1The main mouse button was clicked on one of the following:
  • Tab
  • Button
  • Option button
  • Check box (standalone or within a cell)

This event occurs when a mouse is released within an item, that is, mouse up.

et_KEY_DOWN2A key was pressed.
et_GOT_FOCUS3An item received focus.
et_LOST_FOCUS4An item lost focus.
et_COMBO_SELECT5A value was selected in a combo box.
et_CLICK6The main mouse button was clicked on an item, that is, mouse down.
et_DOUBLE_CLICK7The main mouse button was double-clicked on an item.
et_MATRIX_LINK_PRESSED8A link arrow in a matrix was pressed.
et_MATRIX_COLLAPSE_PRESSED9A matrix list was collapsed or expanded.
et_VALIDATE10An item lost focus and validation is required.
et_MATRIX_LOAD11Data was loaded from the database into a matrix data source.

This event occurs for user-defined matrix objects only. If a form contains two matrix objects, the system generates two events.

et_DATASOURCE_LOAD12Data was loaded from the GUI into a matrix data source.

This event occurs once per matrix. If a form has two matrix objects, the system generates two events.

et_FORM_LOAD16A form was opened (FormDataEvent).
et_FORM_UNLOAD17A form was closed.
et_FORM_ACTIVATE18A form received focus.
et_FORM_DEACTIVATE19A form lost focus.
et_FORM_CLOSE20A form is about to be closed.
et_FORM_RESIZE21A form has been resized.
et_FORM_KEY_DOWN22A key was pressed when no form had the focus.
et_FORM_MENU_HILIGHT23A form is modifying the status of toolbar items, that is, enabling and disabling icons.

By default, these events are not thrown. You can activate these events by setting an event filter.

et_PRINT24A print preview was requested for a report or document (PrintEvent).

This event lets you exit from the application print operation and use your own printing.

et_PRINT_DATA25A print preview was requested for a report (ReportDataEvent). 

This event lets you get the report data in XML format.

et_CHOOSE_FROM_LIST27ChooseFromList event occurred, as follows: 
  • The Before event occurs before the ChooseFromList form is displayed. If the BubbleEvent parameter is set to False, the form is not displayed.
  • The After event occurs after the user makes a selection or chooses Cancel.
et_RIGHT_CLICK28The right mouse button was clicked on an item (RightClickEvent).
et_MENU_CLICK32The main mouse button was released on a menu item without submenus.

For future use.

et_FORM_DATA_ADD33A record in a business object was added (FormDataEvent).
et_FORM_DATA_UPDATE34A record in a business object was updated (FormDataEvent).
et_FORM_DATA_DELETE35A record in a business object was deleted (FormDataEvent).
et_FORM_DATA_LOAD36A record in a business object was loaded -- via browse, link button, or find (FormDataEvent).
et_PICKER_CLICKED37Picker event occurred, as follows: 
  • The Before event occurs before the Picker form is displayed. If the BubbleEvent parameter is set to False, the picker is not displayed.
  • The After event occurs after the user makes a selection or chooses Cancel.
et_GRID_SORT38A grid column was sorted, either by a user clicking the column title or an add-on calling the Sort method of the Grid object.
et_Drag39The item was dragged and dropped at the position you want it to appear.
et_FORM_DRAW45A form was drawn (ItemEvent).

The before event would raise after the FormLoadAfter event and before the form was drawn.
And after the form was drawn, which means all form items location/size is determined (for system form), the after form draw event would be raised.

et_UDO_FORM_BUILD49A UDO form was built.
et_UDO_FORM_OPEN50A UDO form was opened.
et_B1I_SERVICE_COMPLETE51The B1i service has been completed.
et_FORMAT_SEARCH_COMPLETED59The format search has been completed.
et_PRINT_LAYOUT_KEY80A print or print preview was requested for an add-on form, and the layout needs the key of the add-on form (LayoutKeyEvent).
et_FORM_VISIBLE97A form was visible.
et_ITEM_WEBMESSAGE130A Web message was sent from the WebBrowser control.