Usina BRAdvPL Guide
Sign in
← All topics
CLASSUnder review

FWBreadCrumb

FWBreadCrumb():New(oOwner, [lForce])

Displays an interface navigation trail.

FWBreadCrumbAdvPL
01 · OVERVIEW

Overview

The class builds a routine trail inside a container. SetPath takes identifier/title pairs and SetAction defines click behavior. Optional lForce defaults to true. This fragment requires a valid oOwner and configures items without activation. The component supplies neither authorization rules nor automatic execution for each ID. (Sources: refs. 1–1.)

02 · SYNTAX

Syntax

FWBreadCrumb():New(oOwner, [lForce])

Parameters

oOwner
ObjectRequired

Already-prepared interface container.

lForce
LogicalOptional

Forces path refresh on click; defaults true.

Methods

NewReceives the trail container.FWBreadCrumb():New(oOwner, [lForce])
SetPathArray of ID/title pairs.o:SetPath(aPath)
SetActionSets the click callback.o:SetAction(bAction)
Activate / DeactivateCreates visual components and later deactivates them.o:Activate() / o:Deactivate()
03 · PRACTICAL EXAMPLE

Commented example

// Fragment: oOwner belongs to the caller-prepared window.
oTrail := FWBreadCrumb():New(oOwner)
oTrail:SetRoot("ROOT","Home")
oTrail:SetPath({{"STEP1","Review"}})
Expected result

Configured trail without Activate or triggered navigation. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

BEST PRACTICES
  • Check LIB version, lifecycle and context before integration. These methods are a documented subset rather than the complete API.
  • Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Related content

REFERENCES
  1. TOTVS. FWBreadCrumb. TDN. Accessed on 2026-10-26.
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