AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Action Bar
  • Default events
  • Optional events
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Default events
For the Action Bar control, WINDEV Mobile supports the following events by default (order of appearance in the code editor):
EventRuntime condition
Click on the left buttonExecuted 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).
Android To avoid running the preset action, this event must return False.
For more details, see "Left button" in the page named Describing the Action Bar control.
Note: This event replaces the "Click on icon" event available in version 18.
AndroidiPhone/iPad Modifying the search
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.
AndroidiPhone/iPad Validating the search
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 viewExecuted 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):
EventRuntime condition
After loading the internal windowExecuted 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.
ChangeSourceWindow must not be used in this event.
Before unloading the internal windowExecuted 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.
ChangeSourceWindow must not be used in this event.
Optional events
iPhone/iPad An optional event is proposed for the Action Bar control: "Touch / Left button pressed".
To manage this optional event, simply select it in the icon bar of the code window.
For more details, see the Optional events.
Versión mínima requerida
  • Versión 17
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

Señalar un error o enviar una sugerencia | Ayuda local