Skip to main content
A newer version of this page is available.

Example: OnGetEditProperties

The following sample shows how to handle the column’s OnGetEditProperties event to change a column’s default in-place editor. Note that the sample requires an instance of the cxEditRepository component. The repository should have at least one item (named eriTextMemo).

procedure <Form>.<Column>GetEditProperties(Sender: TcxTreeListColumn; ANode: TcxTreeListNode; var EditProperties: TcxCustomEditProperties);
begin
  EditProperties := eriTextMemo.Properties;
end;