C2024-017 Removed old (not implemented) format variables and settings from the format files and removed incomplete references to them in the C# code. Also added descriptions of the used format variables in the C# code that hooks the XML format files to the PROMS C# logic.
This commit is contained in:
@@ -2973,11 +2973,6 @@ namespace Volian.Controls.Library
|
||||
TopMostEditItem.ItemLocation = new Point(TopMostEditItem.ItemLocation.X, _MyParentEditItem.Bottom);
|
||||
//TextWidth = _WidthAdjust + borderWidth + MyStepPanel.ToDisplay(_MyStepSectionLayoutData.WidSTableEdit, Convert.ToInt32(_MyStepSectionLayoutData.PMode) - 1);
|
||||
ContentWidth = _WidthAdjust + BorderWidth + MyStepPanel.ToDisplay(MyStepSectionLayoutData.WidSTableEdit, MyItemInfo.ColumnMode);
|
||||
//ContentWidth = _WidthAdjust + BorderWidth;
|
||||
//if (MyItemInfo.FormatStepData.WidthOverrideEdit != null && MyItemInfo.FormatStepData.WidthOverrideEdit > 0)
|
||||
// ContentWidth += MyStepPanel.ToDisplay(MyItemInfo.FormatStepData.WidthOverrideEdit);
|
||||
//else
|
||||
// ContentWidth += MyStepPanel.ToDisplay(MyStepSectionLayoutData.WidSTableEdit, MyItemInfo.ColumnMode);
|
||||
break;
|
||||
case 2: // Step
|
||||
// if Table then determine width and location based upon it's parent's location
|
||||
|
@@ -611,7 +611,7 @@ namespace Volian.Controls.Library
|
||||
// RichTextBox will not allow the character to be removed this way and the RichTextBox
|
||||
// will beep. So, to keep from going in an infintie loop, the value of indchar is incremented.
|
||||
SelectedRtf = SelectedRtf.Replace(@"\'05", "");
|
||||
indchar++;// Don't so the same one twice.
|
||||
indchar++;// Don't do the same one twice.
|
||||
}
|
||||
if (MyItemInfo != null && MyItemInfo.ActiveFormat != null
|
||||
&& MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.DontResetIndentOnNewline)
|
||||
|
Reference in New Issue
Block a user