Added Commented logic to handle ActiveSection when printing.

This commit is contained in:
Rich 2014-12-08 20:28:27 +00:00
parent 2c21ce24dc
commit e73b34ec68

View File

@ -445,7 +445,8 @@ namespace VEPROMS.CSLA.Library
itemInfo.LoadAllAtOnce = true;
itemInfo.ActiveParent = itemParent;
itemInfo.MyParent = itemParent as ItemInfo;
// itemInfo.ActiveSection = (itemInfo as SectionInfo) ?? sectionInfo; - possible fix for not accessing correct format
// Fix for Active Section when printing. BGE_OI4 OI27D-2
//itemInfo.ActiveSection = (itemInfo as SectionInfo) ?? sectionInfo;// - possible fix for not accessing correct format
itemInfo.ActiveSection = sectionInfo;
itemInfo.MyProcedure = procInfo;
itemInfo.MyDocVersion = docVersionInfo;