Establishes a cell's behavior when selected.
Usage
Set_Property(OLECtrlEntID, "OLE.CellEditMode[field; record]", Array)
Values
Array has the following structure:
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Edit Mode | Option | The mode the cell enters when selected | Current |
<2> | Cursor Behavior | Option | The location of the cursor when entering edit mode | Overwrite |
Indices
Index | Description |
---|---|
field | Index to an existing field |
record | Index to an existing record |
Remarks
The CellEditMode property establishes how a cell responds to being selected. The first field, Edit Mode, sets whether or not the cell goes immediately into edit mode. Possible values for the Edit Mode field are:
Value | Abbr. | Description |
---|---|---|
Current | C | The newly selected cell enters the same mode as the previously selected cell |
Edit | E | The newly selected cell always enters edit mode |
Navigation | N | The newly selected cell never enters edit mode until the user specifically requests to do so |
The second field, Cursor Behavior, sets the bahavior of the cursor when a cell enters edit mode. Possible values for the Cursor Bahavior field are:
Value | Abbr. | Description |
---|---|---|
Overwrite | O | When entering edit mode, the cell's text is highlighted so typing will overwrite the current contents |
Insert | I | When entering edit mode, the cursor is placed at the end of the cell's text so typing will append text to the end |