Saltar para o conteúdo principal
Versão: 20 R5 BETA

On Window Opening Denied

CodePode ser chamado porDefinição
53Web AreaUma janela pop-up foi bloqueada
História
ReleaseMudanças
19 R5On 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

Veja também

On Open External Link