From 62748c9053f5c1f01030a5f9ffd578cf22c6e294 Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Wed, 13 Apr 2022 10:27:32 +0200 Subject: [PATCH] Common/DocumentResultList: Hide Navigation Ribbon Group per Parameter --- GUIs.Common/DocumentResultList/Params.vb | 1 + GUIs.Common/frmDocumentResultList.vb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/GUIs.Common/DocumentResultList/Params.vb b/GUIs.Common/DocumentResultList/Params.vb index 88626acc..4790a565 100644 --- a/GUIs.Common/DocumentResultList/Params.vb +++ b/GUIs.Common/DocumentResultList/Params.vb @@ -11,6 +11,7 @@ Namespace DocumentResultList Public ColumnNames As New ColumnNames Public OperationModeOverride As OperationMode = OperationMode.None Public ProfileGuid As Integer + Public ShowBackNavigation As Boolean = True End Class Public Class DocumentResult diff --git a/GUIs.Common/frmDocumentResultList.vb b/GUIs.Common/frmDocumentResultList.vb index 6aaf892a..57170603 100644 --- a/GUIs.Common/frmDocumentResultList.vb +++ b/GUIs.Common/frmDocumentResultList.vb @@ -205,6 +205,9 @@ Public Class frmDocumentResultList panelContainerStatus.Visibility = Docking.DockVisibility.Hidden End If + ' Hide the complete Navigation Ribbon Group if desired + RibbonPageGroup_Navigation.Visible = Params.ShowBackNavigation + UpdateTotalResults() LoadGridDataAndLayout()