AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Área de texto enriquecido
  • Example: Management of print cancellation
iDocumentCanceled (Example)
Example: Management of print cancellation
WINDEVReportes y ConsultasCódigo de Usuario (UMC) The following example completely stops the current print if the user closes the report viewer before the printing ends or if they click Cancel in the current print window.
// Open report viewer
// Preview in 100 % mode
iDestination(iViewer, i100)
// Browse through customers
HReadFirst(Customer, Key)
WHILE HOut() = False
// Print the name of the customer
iPrint(Customer.CustomerName)
// Interruption if the print was canceled
IF iDocumentCanceled() = True THEN BREAK
// Next customer
HReadNext()
END
// End of prints
iEndPrinting()
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/05/2022

Señalar un error o enviar una sugerencia | Ayuda local