 match the grid cell being edited:
   Set txtEdit.Font = grdThis.CellFont(lRow, lCol)
   If grdThis.CellBackColor(lRow, lCol) = -1 Then
      txtEdit.BackColor = grdThis.BackColor
   Else
      txtEdit.BackColor = grdThis.CellBackColor(lRow, lCol)
   End If
   
   ' Move the text box to the edit position, make it visible and give it the
    focus:
   txtEdit.Move lLeft + grdThis.left, lTop + grdThis.top +
    Screen.TwipsPerPixelY, lWidth, lHeight
   txtEdit.Visible = True
   txtEdit.ZOrder
   txtEdit.SetFo