From c9779a69baff510de0256896847405ef551079e3 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 1 Dec 2021 17:44:08 +0000 Subject: [PATCH] =?UTF-8?q?B2021-140=20Tables=20that=20do=20not=20have=20s?= =?UTF-8?q?hading=20assigned=20were=20printing=20with=20the=20previous=20t?= =?UTF-8?q?able=E2=80=99s=20shading=20information.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Controls.Library/VlnFlexGrid.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PROMS/Volian.Controls.Library/VlnFlexGrid.cs b/PROMS/Volian.Controls.Library/VlnFlexGrid.cs index 5a9397bc..f053d0fe 100644 --- a/PROMS/Volian.Controls.Library/VlnFlexGrid.cs +++ b/PROMS/Volian.Controls.Library/VlnFlexGrid.cs @@ -982,6 +982,10 @@ namespace Volian.Controls.Library public void LoadGrid(ItemInfo itemInfo) { int profileDepth = ProfileTimer.Push(">>>> VlnFlexGrid.LoadGrid"); + // B2021-140 reset the shading information before loading in the next table + // Need to do this because we use static for the tables when we print + MyShading = null; + MyShadingDetailString = null; _MyItemInfo = itemInfo; string str = itemInfo.MyContent.MyGrid.Data; VE_Font vefont = _MyItemInfo.GetItemFont();