What is the generic property editor for setting a property that is a component? lazarus / 21-General ---------------------------------------------------------------------- vfclists ยท 2024-10-18 11:30 I am using the oiexample.lpi project that is included in the examples, and I realize that properties which are components, ie components on the form, such datasources and controls can't be edited. So when I add a component which requires a DataSource property to be set, such as TEdit, and I select the DataSource property, none of the datasources I've added to the form appear. When I add a more complex object such as a TDBGrid, I can edit the Columns property because DBPropEdits has been added it contains a RegisterPropertyEditor(TypeInfo(TDBGridColumns), nil, '', TDBGridColumnsPropertyEditor); After searching through the code I can't find a RegisterPropertyEditor (TypeInfo(TDataSource),xxx,TDataSourceProperyEditor) In short it looks like I am missing a RegisterPropertyEditor command for components or subsets for Components. I suspect that one of the files in ideintf has a generic RegisterPropertyEditor that needs to be included in the project and for each such property I must make a call to it using the component type as a parameter. Any idea what that procedure may be?