public void MoveDown(bool Select)
{
CropPosition();
int x = OldLogicalXPos;
//error here
try
{
Row r = CurrentRow;
Row r2 = r.NextVisibleRow;
if (r2 == null)
return;
Position.Y = r2.Index;
if (CurrentRow.IsCollapsed)
{
x = 0;
}
}
catch {}
finally
{
CropPosition();
LogicalPosition = new TextPoint(x, Position.Y);
CropPosition();
CaretMoved(Select);
}
}