nTotalNumericRequired
Total number of steps the routine intends to execute.
AdvPL GuideProcRegua( <nTotal> )Defines the total value of the progress bar used by Processa().
ProcRegua() tells the Processa() progress bar how many steps will be executed. After that, each IncProc() call advances the bar until the defined total is completed.
ProcRegua( <nTotal> )nTotalTotal number of steps the routine intends to execute.
#Include "TOTVS.ch"
Static Function ProcessaItens(aItens, lFim)
Local nItem
ProcRegua(Len(aItens))
For nItem := 1 To Len(aItens)
If lFim
Exit
EndIf
// Processamento do item
IncProc()
Next
ReturnThe progress bar starts representing the number of items in the array.
© 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.