Fixed a problem when Table ROs where updated (from Get Latest RO Values)

Fixed a table conversion problem. Needed to remove extra ‘\r’ characters
This commit is contained in:
2011-10-10 13:07:32 +00:00
parent d18d0d97c8
commit 0158228eeb
2 changed files with 15 additions and 3 deletions

View File

@@ -282,6 +282,12 @@ namespace Volian.Controls.Library
InitializeComponent();
SetupGrid(1, 1);
}
public VlnFlexGrid(ContentItem ci)
{
InitializeComponent();
SetupGrid(4, 3); // use a default row and column count
_MyItemInfo = ci.MyItem.MyItemInfo;
}
//public VlnFlexGrid(IContainer container)
//{
// container.Add(this);
@@ -3217,6 +3223,7 @@ namespace Volian.Controls.Library
{
// we need to convert some RTF command to DOS so that we can
// figure out the table size
stepText = stepText.Replace("\r", "");
stepText = stepText.Replace("\xF8", @"\'f8");
stepText = stepText.Replace(@"\par ", "\r\n");
stepText = _ReplaceTokenSpaceToken.Replace(stepText, "");