On Window Opening Denied
Code | Pode ser chamado por | Definição |
---|---|---|
53 | Área web | Uma janela pop-up foi bloqueada |
História
Release | Mudanças |
---|---|
19 R5 | On Drop |
Descrição
This event is generated when the opening of a pop-up window is blocked by the Web area. As áreas Web de 4D não permitem a abertura de janelas pop-up.
Puede identificar la URL bloqueada utilizando el comando WA Get last filtered URL
.
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. Pode aceitar a entrega chamando:
//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