aInfoWindow data from MsAdvSize and margins as shown in the example.
AdvPL GuideMsObjSize(aInfo,aObjects,.T.) -> aPosObj (uso observado / observed call)Calculates component positions in a legacy layout.
The official TCBrowse example obtains aSize from MsAdvSize, builds aInfo from its first four positions and two margins, and passes aInfo/aObjects/.T. to MsObjSize. The returned aPosObj positions a browse and button. This page documents that observed use without assigning an unpublished name or meaning to argument three. The historical manual shows the same pattern. It is not a generic responsive-layout algorithm for every client. (Sources: refs. 1–2.)
MsObjSize(aInfo,aObjects,.T.) -> aPosObj (uso observado / observed call)aInfoWindow data from MsAdvSize and margins as shown in the example.
aObjectsObject specifications as shown in the consulted example.
3º argumento / third argumentExample passes .T.; the detailed contract is not explained.
Position array used by the example; verify structure in the runtime.
#Include "Protheus.ch"
User Function Ed549()
// Arrays must follow the source example; block not invoked.
Local bLayout := {|aInfo,aObjects| MsObjSize(aInfo,aObjects,.T.)}
ConOut(ValType(bLayout))
Return NilPrints B; evaluation requires suitable arrays and UI context. 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.