Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridTableViewDetachedEditFormEvent Type

The OnDetachedEditFormInitialize event’s procedural type.

#Declaration

Delphi
TcxGridTableViewDetachedEditFormEvent = procedure(Sender: TcxGridTableView; AForm: TForm) of object;

#Parameters

Name Type
Sender TcxGridTableView
AForm TForm

#Remarks

This event occurs when the modal Edit Form is about to be displayed. Use the Sender parameter to identify the table view that raised the event and customize AForm settings.

procedure MyForm.cxGrid1DBTableView1DetachedEditFormInitialize(
  Sender: TcxGridTableView; AForm: TForm);
begin
  AForm.BorderStyle := bsDialog;
  AForm.Height := 220;
  AForm.Width := 320;
end;

Note

Do not cast the AForm parameter to the TcxGridDetachedEditForm or TcxGridCustomDetachedEditForm class since they are intended for internal use.

See Also