nLinha1 / nColuna1Initial coordinates.
AdvPL GuidemBrowse(nLinha1,nColuna1,nLinha2,nColuna2,cAlias,[...])Displays records and routine actions in the legacy browse.
MBrowse and MBROWSE() are the same function, consolidated here. The minimum contract takes four coordinates and an alias; the official reference lists all optional arguments. Dictionary tables use SX3 and user settings for columns. Work files require alias TRB and aFixe field metadata in this reference. aRotina defines actions; cCadastro sets the title. This example only prepares a call for an already open alias and suitable Private context. (Sources: refs. 1–1.)
mBrowse(nLinha1,nColuna1,nLinha2,nColuna2,cAlias,[...])nLinha1 / nColuna1Initial coordinates.
nLinha2 / nColuna2Final coordinates.
cAliasOpen SX3-defined alias, or TRB prepared according to source.
The example uses its UI effect; do not treat it as persistence confirmation.
#Include "Protheus.ch"
User Function Ed525()
// Alias, SX3 and aRotina must exist; block not invoked.
Local bBrowse := {|cAlias| mBrowse(6,1,22,75,cAlias)}
ConOut(ValType(bBrowse))
Return NilPrints B. Opens no browse and exposes no update actions. 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.