FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconnectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
Android Back Button
Android Back Button
Iniciado por Dave Summers, 07,mar. 2018 23:27 - 3 respuestas
Conéctese…
Dave Summers
#1
Publicado el 07,marzo 2018 - 23:27
Hi
Does anyone know how the syntax to either disable or trap the press of the android back button ?
or
is it my design, i have a multi-pane screen, i can navigate back a pane with the action bar button but the android back button takes me back to the previous window
Has anyone else had these design issues and what is the best solution ?
thanks
Dave
Informar
0
0
Fabrice Harari
#2
Publicado el 08,marzo 2018 - 10:43
Hi Dave,
just put a button (it can be hidden on the left or visible) on your
window where you want to trap the back key, and set it's shortcut to be
the back key... in the button, code the action you want executed when
the user presses back. That's all.
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)
More information on
http://www.fabriceharari.com
Le 3/7/2018 à 5:27 PM, Dave Summers a écrit :
Hi
Does anyone know how the syntax to either disable or trap the press of
the android back button ?
or
is it my design, i have a multi-pane screen, i can navigate back a pane
with the action bar button but the android back button takes me back to
the previous window
Has anyone else had these design issues and what is the best solution ?
thanks
Dave
Informar
0
0
Eric67
#3
Miembro registrado
637 mensajes
Publicado el 08,marzo 2018 - 11:21
Hi dave,
You just need to create a back button with "abandon" status. Sorry I don't know how to say in English but have a look at the picture.
Then the code below should solve your issue. Just adapt the windows name and manage regarding the number of panels you have.
The button has to be out of the screen but visible status and active.
Regards,
Eric.
SI
FEN_
TraitementIntervention
..
Plan
=
2
ALORS
FEN_
TraitementIntervention
..
Plan
=
1
RETOUR
FIN
SI
FEN_
TraitementIntervention
..
Plan
=
3
ALORS
FEN_
TraitementIntervention
..
Plan
=
1
RETOUR
FIN
Mensaje modificado, 08,marzo 2018 - 11:24
Informar
0
0
Pedro Reyes
#4
Publicado el 13,noviembre 2023 - 17:41
Muy importante: si la pantalla contienes planos, el botón ha de estar situado en el plano 0, en caso contrario no funcionará.
Very important: if the screen contains planes, the button must be located on plane 0, otherwise it will not work.
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV 26
WINDEV 2024
WINDEV 2024
WINDEV 2024
WINDEV 25
WEBDEV 2024
WEBDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV Mobile 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
WINDEV (versiones precedentes)
WINDEV (versiones precedentes)
WEBDEV (versiones precedentes)
WINDEV Mobile (versiones precedentes)
Reports & Queries
Irrelevante
Herramientas
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto