FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
openchild and close() crashes app
openchild and close() crashes app
Iniciado por ORS, 18,mar. 2015 18:34 - 1 respuesta
Conéctese…
ORS
#1
Miembro registrado
4 mensajes
Publicado el 18,marzo 2015 - 18:34
Hi
I have the following scenario
WIN_MAIN -> openchild(WIN_1) -> WIN_1 -> openchild(WIN_2) -> WIN_2 -> close(WIN_1)
From WIN_2, I want to close both WIN_1 and WIN_2. How do I achieve this without crashing the App.
From the simulator it works fine, but from an Android phone it crashes the App.
What is the best set of commands to achieve this?
Thank you in advance
Informar
0
0
Fabrice Harari
#2
Publicado el 18,marzo 2015 - 21:37
Hi
as a principle, always close a window in the window from witch it was
open...
So all windows should be open from main, and all windows closed from
main, even if you need some kind of messaging between windows to do that
(a global variable and a timer may be sufficient in your case)
Of course, if your windows are not too heavy, you could put everithing
in different planes of your main window instead
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
NEW: WXReplication, your open source replication system is available on
my web site!!!
WXShowroom.com: Show your projects!
More information on
http://www.fabriceharari.com
On 3/18/2015 12:34 PM, ORS wrote:
Hi
I have the following scenario
WIN_MAIN -> openchild(WIN_1) -> WIN_1 -> openchild(WIN_2) -> WIN_2 ->
close(WIN_1)
From WIN_2, I want to close both WIN_1 and WIN_2. How do I achieve
this without crashing the App.
From the simulator it works fine, but from an Android phone it crashes
the App.
What is the best set of commands to achieve this?
Thank you in advance
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
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