oFldCreated page object.
AdvPL GuideADD FOLDER <oFld> CAPTION <cCaption> [ON ACTIVATE <uAction>] OF <oWnd>Adds a grouping page to the historical interface.
Historical eAdvpl reference, §3.6–3.7, p. 12. Syntax depends on that environment’s definitions; it does not establish compatibility with every current Protheus include. The folder belongs to the OF window and CAPTION identifies it visually. ON ACTIVATE, when used, runs an action upon page activation. This example performs no data loading through events: changing pages must not duplicate writes. Do not assume the macro matches TFolder constructors in other includes. (Guia de referência eAdvpl, s.d., ref. 1)
ADD FOLDER <oFld> CAPTION <cCaption> [ON ACTIVATE <uAction>] OF <oWnd>oFldCreated page object.
cCaptionVisible caption.
oWndExisting parent window.
uActionActivation action under the historical macro.
No business return value is documented for this interface operation.
// Historical fragment: oDlg already exists.
Local oFld
ADD FOLDER oFld CAPTION "General data" OF oDlg
// Create page controls in their appropriate context.Proposes a captioned page without fields or persistence. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 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.