nTop, nLeft, nBottom, nRightStart and end corners in environment units.
AdvPL Guide@ nTop, nLeft TO nBottom, nRight [oBox] [CAPTION cCaption] OF oWndDraws a frame using start and end coordinates.
The eAdvpl reference guide, §3.14, p. 16, records the historical variant shown in the syntax. Fragments assume the matching environment and command definitions; they are not a complete application. Here TO separates the initial and final corners; the last two numbers are not width and height. The frame visually groups controls without creating validation or an access boundary. TGroup documents another visual-grouping approach with its own constructor; do not assume every @ ... TO macro expands into that class. (Refs. 1–2)
@ nTop, nLeft TO nBottom, nRight [oBox] [CAPTION cCaption] OF oWndnTop, nLeft, nBottom, nRightStart and end corners in environment units.
oWndExisting window containing the frame.
Interface/printing command; do not use as a function-return expression.
// Historical fragment; oDlg already exists.
@ 1, 1 TO 8, 50 CAPTION "Inquiry data" OF oDlg
// 8 and 50 are final coordinates, not height and width.Proposes a captioned frame without fields or business logic. 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.