FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
How to prevent the current tab Tab to Close
How to prevent the current tab Tab to Close
Iniciado por Carlos, 02,ene. 2021 15:42 - 1 respuesta
Conéctese…
Carlos
#1
Publicado el 02,enero 2021 - 15:42
Hi and thanks for the Help in advanced.
How can I prevent the user to close the tab
For example
If the User clicks on the Tab (X) to close it
Thank you
Best regards
Carlos
Informar
0
0
DerekT
#2
Publicado el 05,enero 2021 - 13:32
In the 'Closing a pane of DynTab' enter code that equates to...
IF DynTab..Value = "ALIAS_2" THEN
ReturnToCapture()
END
Of course it is necessary to know the alias and for this I store, based on a condition, the alias of created tab(s) in a global array.
When the user attempts to close a tab my code is similar to...
n_SeekRes = ArraySeek(arrAlias,asLinear,DynTab..Value)
IF n_SeekRes > 0 THEN
ReturnToCapture()
END
Informar
0
0
→ Volver a WINDEV 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