| Add Method | |
| See Also |
- EventType
- The event type to filter in
Adds an EventFilter to the collection.
Each EventFilter object holds an event type that will be listened for. The object can also specify form types, so only the event type in these forms is listened for.
| Visual Basic |
|---|
Public Function Add( _
ByVal EventType As BoEventTypes _
) As EventFilter |
- EventType
The event type to filter inValue Description et_ALL_EVENTS All events, for use when filtering events et_ITEM_PRESSED The 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_DOWN A key was pressed. et_GOT_FOCUS An item received focus. et_LOST_FOCUS An item lost focus. et_COMBO_SELECT A value was selected in a combo box. et_CLICK The main mouse button was clicked on an item, that is, mouse down. et_DOUBLE_CLICK The main mouse button was double-clicked on an item. et_MATRIX_LINK_PRESSED A link arrow in a matrix was pressed. et_MATRIX_COLLAPSE_PRESSED A matrix list was collapsed or expanded. et_VALIDATE An item lost focus and validation is required. et_MATRIX_LOAD Data 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_LOAD Data 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_LOAD A form was opened (FormDataEvent). et_FORM_UNLOAD A form was closed. et_FORM_ACTIVATE A form received focus. et_FORM_DEACTIVATE A form lost focus. et_FORM_CLOSE A form is about to be closed. et_FORM_RESIZE A form has been resized. et_FORM_KEY_DOWN A key was pressed when no form had the focus. et_FORM_MENU_HILIGHT A 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_PRINT A 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_DATA A print preview was requested for a report (ReportDataEvent). This event lets you get the report data in XML format.
et_CHOOSE_FROM_LIST A ChooseFromList 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_CLICK The right mouse button was clicked on an item (RightClickEvent). et_MENU_CLICK The main mouse button was released on a menu item without submenus. For future use.
et_FORM_DATA_ADD A record in a business object was added (FormDataEvent). et_FORM_DATA_UPDATE A record in a business object was updated (FormDataEvent). et_FORM_DATA_DELETE A record in a business object was deleted (FormDataEvent). et_FORM_DATA_LOAD A record in a business object was loaded -- via browse, link button, or find (FormDataEvent). et_PICKER_CLICKED A Picker 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_SORT A 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_Drag The item was dragged and dropped at the position you want it to appear. et_FORM_DRAW A 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_BUILD A UDO form was built. et_UDO_FORM_OPEN A UDO form was opened. et_B1I_SERVICE_COMPLETE The B1i service has been completed. et_FORMAT_SEARCH_COMPLETED The format search has been completed. et_PRINT_LAYOUT_KEY A 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_VISIBLE A form was visible. et_ITEM_WEBMESSAGE A Web message was sent from the WebBrowser control.