Ver Mensaje Individual
  #2  
Antiguo 27-07-2004
Avatar de marcoszorrilla
marcoszorrilla marcoszorrilla is offline
Capo
 
Registrado: may 2003
Ubicación: Cantabria - España
Posts: 11.221
Reputación: 10
marcoszorrilla Va por buen camino
Esta es la documentación existente en QuickReport:
Cita:
procedure Preview

Use ‘Preview’ to generate the report and bring up an on screen preview of it. From the preview window the user can choose to print the report.

When calling Preview the report is generated without creating a background thread. If you use a database driver that is thread safe you can use PreviewModal or PreviewModeless to bring up true modal or modeless previews. The window created by Preview is not a true Modal window but the program will not continue until the preview is closed.


procedure PreviewModeless

As ‘ Preview’ except that the program will continue executing on the next line after the PreviewModeless call while the report is being generated and previewed.


procedure PreviewModal

As Preview with the following differences -
When calling PreviewModal the report is generated in a background thread. Some database drivers are not thread safe and this might cause unexpected behavior or program crashes. Only use PreviewModal in situations where it is sure that a thread safe database driver will be used.
No te aconsejo utilizar Preview porque si el usuario te minimiza el informe verás como te ves obligado a cerrar el programa, yo en concreto siempre utilizo PreviewModal.

Un Saludo.
__________________
Guía de Estilo de los Foros
Cita:
- Ça c'est la caisse. Le mouton que tu veux est dedans.
Responder Con Cita