Sets or returns the editing status of the current cell. Not available at design time.
Syntax
object.EditActive [= value]
The EditActive property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | A Boolean expression that determines the editing status, as described in Settings. |
Settings
The settings for value are:
Setting | Description |
True | The current cell is currently being edited by the user. |
False | No editing is in progress. |
Remarks
If the grid is not already in edit mode, setting EditActive to True will initiate editing on the current cell. The caret will be positioned at the end of the cell and the ColEdit event will be triggered.
If the grid is already in edit mode, setting EditActive to False will exit edit mode. If the cell has been modified, this will trigger the following events: BeforeColUpdate, AfterColUpdate, and AfterColEdit.
Note To cancel editing completely, set the CurrentCellModified property to False, then set EditActive to False.