From 0726a87325dc59aecd2d9e2d8892de41ef2ff78e Mon Sep 17 00:00:00 2001 From: Rich Date: Fri, 21 Oct 2016 15:05:21 +0000 Subject: [PATCH] Added a Format Property (IncludeSectionNum) to Include Section Number in Section Cautions and Notes. Bring active window to front, so that active window can be seen. Sometimes the active window was being displayed under other windows. This makes it possible to see the active window --- PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs | 8 ++++++++ PROMS/Volian.Controls.Library/RTBItem.cs | 1 + 2 files changed, 9 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index a5b5dc46..d55877ba 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -5268,6 +5268,14 @@ namespace VEPROMS.CSLA.Library return LazyLoad(ref _IncludeStepNum, "TabData/@IncludeStepNum"); } } + private LazyLoad _IncludeSectionNum; + public bool IncludeSectionNum + { + get + { + return LazyLoad(ref _IncludeSectionNum, "TabData/@IncludeSectionNum"); + } + } private LazyLoad _Justify; public string Justify { diff --git a/PROMS/Volian.Controls.Library/RTBItem.cs b/PROMS/Volian.Controls.Library/RTBItem.cs index 85d8cd69..665f6ca9 100644 --- a/PROMS/Volian.Controls.Library/RTBItem.cs +++ b/PROMS/Volian.Controls.Library/RTBItem.cs @@ -810,6 +810,7 @@ namespace Volian.Controls.Library } public override void IdentifyMe(bool highlight) { + this.BringToFront(); if (highlight) MyStepRTB.BackColor = Color.Gray; else