fix for arrow keys and for initial mouse select of a table.

This commit is contained in:
John Jenko 2011-06-01 19:39:06 +00:00
parent f89f692662
commit bb9d4f9042

View File

@ -623,8 +623,11 @@ namespace Volian.Controls.Library
{
Focus();
MyFlexGrid.Focus();
//if (!MyFlexGrid.IsRoTable) // Table ROs are none editable - don't select a table cell
// MyFlexGrid.Select(0, 0);
if (!MyFlexGrid.IsRoTable) // Table ROs are none editable - don't select a table cell
{
MyFlexGrid.Select(0, 0);
MyFlexGrid.FirstEntry = true; // to fix a problem with initial mouse click into table
}
}
else
{