Re: Navigate Back versus breadcrumb versus Back Button
As you have seen, navigating back via the breadcrumb essentially performs a navigate cancel, and not a navigate back, meaning that OnNavigateBack never gets called. It would be nice if the Breadcrumb supported a property whereby you could specify how you wanted it to behave - either as a navigate cancel (as now) or as a navigate back, although I'm aware that I'm typing this without thinking it through and there may be some obvious reasons why this cannot be done.
There is a private view method - NavigateBackToHereExec - which does get called when the navigation is done via the breadcrumb, which you could always augment to do what you need to do, but using private methods is never ideal.
Code:
Procedure NavigateBackToHereExec tWebNavigateData ByRef NavigateData Boolean bCancel Handle hoCallback
Forward Send NavigateBackToHereExec (&NavigateData) bCancel hoCallback
End_Procedure
(I know that none of this is of any help to you, I'm just adding to the general information pot)
Last edited by Peter Bragg; 13-Aug-2024 at 05:52 AM.
"My wife thinks I over-analyse our marriage, which, to be frank completely contradicts the findings of my report." - @MooseAllain