|
|
|
|
|
- Default events
- Optional events
Action Bar control events
For the Action Bar control, WINDEV Mobile supports the following events by default (order of appearance in the code editor): | | Event | Runtime condition | Click on the left button | Executed when the user clicks the left button displayed in the Action Bar of window. A preset action can be run after this event. This action is defined in the "General" tab (option "1", button on the left). Note: This event replaces the "Click on icon" event available in version 18. | | Executed when the user changes the search field of the Action Bar. This event is available if the search was enabled in the Action Bar ("Permitir búsqueda en el Action Bar" in the "Details" tab of the Action Bar control description). Remarks: - The search field of the Action Bar can be made visible by ActionBarSearchVisible.
- The value typed in the search field can be retrieved and changed with the SearchValue property.
| | Executed when the user validates the input in the search field of the Action Bar. This event is available if the search was enabled in the Action Bar ("Permitir búsqueda en el Action Bar" in the "Details" tab of the Action Bar control description). Remarks: - The search field of the Action Bar can be made visible by ActionBarSearchVisible.
- The value typed in the search field can be retrieved with the SearchValue property.
| Modifying the displayed view | Executed when changing the displayed view. This event allows, for example, to modify the internal window displayed by the Action Bar Zone control. | For the Action Bar zone, WINDEV Mobile supports the following events by default (order of appearance in the code editor): | | Event | Runtime condition |
---|
After loading the internal window | Executed when the internal window is changed by ChangeSourceWindow. This event is run after the "Global declarations" and "Initialization" events of the new internal window. This event allows you, for example, to initialize controls or to restore values in the internal window. | Before unloading the internal window | Executed when the internal window is changed by ChangeSourceWindow. This event is run before the closing event of the initial internal window. This event is used, for example, to save the values present in the internal window. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|