TdxCustomSpreadSheet.OnInitEdit Event
Enables you to customize the behavior of an in-place cell editor within a particular worksheet.
Declaration
property OnInitEdit: TdxSpreadSheetViewInitInplaceEditEvent read; write;
Remarks
This event occurs after the OnEditing event. For instance, you can handle the OnInitEdit event to prevent cell editing.
The Sender parameter specifies a generic worksheet object corresponding to the sheet in which an in-place cell editor is activated.
The AEdit parameter specifies the currently activated in-place cell editor. Use its properties to customize the editor as required. When the editor is activated, you can access it by using the worksheet’s Controller.EditingController.Edit property.
If you need to initialize the activated cell editor’s edit with a specific value, handle the OnInitEditValue event.
Note
The Controller property in both the TdxSpreadSheetCustomView class and its descendants is protected.