TcxGridTableViewDetachedEditFormEvent Type
In This Article
The OnDetachedEditFormInitialize event’s procedural type.
#Declaration
Delphi
TcxGridTableViewDetachedEditFormEvent = procedure(Sender: TcxGridTableView; AForm: TForm) of object;
#Parameters
Name | Type |
---|---|
Sender | Tcx |
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 Tcx
See Also