oObjetoExisting control to hide or show.
AdvPL GuideHideControl(oObjeto); ShowControl(oObjeto)Hides and shows controls in historical eADVPL.
The guide describes HideControl(oObject) and ShowControl(oObject) without applicable return values. Both operate on an existing object. This example prepares two blocks for later integration; it does not automatically transfer these functions to modern components with their own methods. (Sources: refs. 1–1.)
HideControl(oObjeto); ShowControl(oObjeto)oObjetoExisting control to hide or show.
No applicable return according to the historical guide.
#Include "Protheus.ch"
User Function Ed482()
// Receive a valid control; caller manages focus.
Local bHide := {|oControl| HideControl(oControl)}
Local bShow := {|oControl| ShowControl(oControl)}
ConOut(ValType(bHide))
ConOut(ValType(bShow))
Return NilPrepares callbacks without changing visibility. 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.