Usina BRAdvPL Guide
Sign in
← All topics
FUNCTIONUnder review

MarkBRefresh

MarkBRefresh() -> NIL

Refreshes the current legacy MarkBrow.

MarkBRefreshAdvPL
01 · OVERVIEW

Overview

The signature takes no object: it depends on the active MarkBrow context. Refreshing a browse does not confirm data persistence. Historical reference: verify behavior in the deployed release/RDD. (Sources: refs. 1–1.)

02 · SYNTAX

Syntax

MarkBRefresh() -> NIL

Return value

NIL according to the historical reference.

03 · PRACTICAL EXAMPLE

Commented example

#Include "Protheus.ch"

User Function Ed521()
    // Requires an active MarkBrow; block not invoked.
    Local bRefresh := {|| MarkBRefresh()}
    ConOut(ValType(bRefresh))
Return Nil
Expected result

Prints B without refreshing a nonexistent window. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

BEST PRACTICES
  • Use only during the corresponding browse lifecycle and verify the SmartClient refresh.
  • Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Related content

REFERENCES
  1. Waterloo Ferreira da Silva. AdvPL — O Manual, versão 1.0, p. 353. Referência histórica. Accessed on 2026-10-27.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR
0 approved comment(s)

Comments

There are no approved comments yet.

Sign in with Google or Microsoft to comment.

Powered by Usina Docs · Alpha