This commit is contained in:
2011-03-28 18:13:29 +00:00
parent 17a27bb8e8
commit 7f22d62f00
4 changed files with 21 additions and 12 deletions

View File

@@ -3827,6 +3827,7 @@ namespace Volian.Controls.Library
public void StartEditing(int row, int col)
{
_initializingEdit = true;
ReadOnly = IsRoTable;
// save coordinates of cell being edited
_row = row;
_col = col;
@@ -3841,7 +3842,7 @@ namespace Volian.Controls.Library
// initialize control content
Text = "";
FindAllLinks(); // jsj 1-5-2011
if (_pendingKey > ' ')
if (_pendingKey > ' ' && !ReadOnly)
Text = _pendingKey.ToString();
else if (_owner[row, col] != null)
{