Place the user in edit mode after they set the text alignment. This assures that the alignment setting is saved.

Changed the error log message when the user uses a format that does not have an initials header for a section which contains signoffs.  Also limited this message so that it is only output once per session.
This commit is contained in:
Rich
2015-03-27 12:27:42 +00:00
parent ea8014c8d2
commit 381376843f
2 changed files with 25 additions and 2 deletions

View File

@@ -1646,6 +1646,9 @@ namespace Volian.Controls.Library
cs.TextAlign = newAlign;
tmp.Style = cs;
}
// If one column and one row, then go into edit mode.
if (cr.r1 == cr.r2 && cr.c1 == cr.c2)
SendKeys.Send("{F2}"); // Toggle Edit Mode with F2
}
public void ChangeCellBorder(CellRange cr, BorderStyleEnum newBorder)
{