Saltar al contenido principal
Versión: 20 R5 BETA

On Window Opening Denied

CodePuede ser llamado porDefinición
53Web AreaSe ha bloqueado una ventana emergente
Historia
LanzamientoModificaciones
19 R5Activado al soltar

Descripción

Este evento se genera cuando la apertura de una ventana emergente es bloqueada por el área web. Los áreas web de 4D no permiten la apertura de ventanas emergentes.

You can find out the blocked URL using the WA Get last filtered URL command.

This event is also triggered when a drop operation has been done in the Web area (with embedded and Wwindows system engines) if the Drag and drop option is also enabled for the area. Puede aceptar la acción de soltar llamando:

//web area object method
If (FORM Event.code=On Window Opening Denied)
WA OPEN URL(*; "WebArea"; WA Get last filtered URL(*; "WebArea"))
// or UrlVariable:=WA Get last filtered URL(*; "WebArea")
// where UrlVariable is the URL variable associated to the web area
End if

Ver también

On Open External Link