diff --git a/PROMS/Volian.Controls.Library/VlnFlexGrid.cs b/PROMS/Volian.Controls.Library/VlnFlexGrid.cs index b6c14637..a27ce852 100644 --- a/PROMS/Volian.Controls.Library/VlnFlexGrid.cs +++ b/PROMS/Volian.Controls.Library/VlnFlexGrid.cs @@ -3201,7 +3201,7 @@ namespace Volian.Controls.Library this.MergedRanges.Clear(); this.Clear(); this.IsRoTable = true; - this.ParseTableFromText(valtext); + this.ParseTableFromText(valtext, GridLinePattern.Single); this.AutoSizeCols(); this.AutoSizeRows(); this.MakeRTFcells(); @@ -3272,7 +3272,7 @@ namespace Volian.Controls.Library /// Then it will parse the the text, place them in cells, and attempt to merge cells were needed. /// /// - public void ParseTableFromText(string buff) + public void ParseTableFromText(string buff,GridLinePattern border) { string txtbuff = PrepROTableText(buff); if (IsRoTable) txtbuff = _RemoveComments.Replace(txtbuff, ""); @@ -3599,7 +3599,7 @@ namespace Volian.Controls.Library TrimMergedRangeCellText(cr); } } - MyBorders = new VlnBorders(GridLinePattern.Single, Rows.Count, Cols.Count); + MyBorders = new VlnBorders(border, Rows.Count, Cols.Count); } private void TrimMergedRangeCellText(CellRange cr)