bActionCode blockRequired
Block executed by the routine. It may receive a logical parameter indicating cancellation.
AdvPL GuideRptStatus( <bAcao>, [cTitulo], [cMsg] )Displays a tracking dialog with a progress bar.
RptStatus() executes a code block inside a status window, allowing reports or long routines to be visually tracked. The bar is prepared with SetRegua() and incremented with IncRegua().
RptStatus( <bAcao>, [cTitulo], [cMsg] )bActionBlock executed by the routine. It may receive a logical parameter indicating cancellation.
cTitleTitle shown in the window.
cMessageMessage shown below the progress bar.
#Include "TOTVS.ch"
User Function ExRptStatus()
Local bAcao := {|lFim| U_ProcessaRel(@lFim) }
RptStatus(bAcao, "Relatório", "Preparando dados...")
ReturnThe function opens a status window and executes the indicated block.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.