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

Example: OnGetEditingProperties

The following sample demonstrates how to change the in-place editor just before it activates (i.e. before the end-user starts editing a cell).

Note that the sample requires an instance of the cxEditRepository component. The repository should have at least one item (named eriBlobMemo). When an end-user clicks a cell within the tree list control, the OnGetEditingProperties event is fired substituting the default in-place editor with eriBlobMemo.

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