oObjCompatible control.
AdvPL GuideMoveControl(oObj,nLin,nCol); ResizeControl(oObj,nWidth,nHeight)Moves or resizes a control in the historical eADVPL API.
MoveControl takes object, row and column. ResizeControl takes object, width and height. The historical reference does not establish uniform units or support in current clients; verify the runtime. These names are not interchangeable methods on arbitrary UI objects. The block only prepares calls for a compatible caller-supplied control. (Sources: refs. 1–1.)
MoveControl(oObj,nLin,nCol); ResizeControl(oObj,nWidth,nHeight)oObjCompatible control.
nLin / nColTarget position in MoveControl.
nWidth / nHeightTarget dimensions in ResizeControl.
No applicable return specified by the historical guide.
#Include "Protheus.ch"
User Function Ed530()
// Blocks not invoked; require a compatible control and runtime.
Local bMove := {|oControl,nRow,nCol| MoveControl(oControl,nRow,nCol)}
Local bSize := {|oControl,nWidth,nHeight| ResizeControl(oControl,nWidth,nHeight)}
ConOut(ValType(bMove)+ValType(bSize))
Return NilPrints BB. No control is moved or resized. 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.