The EditClose method can be used to close programmatically
the currently editor. The Edit method starts editing the focused cell, if the
cell has an editor assigned. Use the Editor
property of the Column object, or CellEditor
property to assign an editor to a cell. The
focused cell is determined by the intersection of the focused item and the focused
column. Use the FocusItem property to get
the handle of the focused item. Use the FocusColumnIndex
property to determine the index of the focused column.