then I do not see Free method of any other classes. It's because TObject is ancestor and Free is mvPublic. How to solve this situation? I do not want to see public properties of some forms.
type
TMyClass=class
published
procedure MyCode;
end;
procedure TForm1.Button3Click(Sender: TObject);
begin
IDEScripter1.DefineClassByRTTI(TForm1,roOverwrite,false,'',[mvPublished]);
IDEScripter1.DefineClassByRTTI(TMyClass);
IDEDialog1.Show;
end;
If you need such specific registration, I recommend that you do some manual tweaking of the classes.
You can for example remove the properties you don't want, or manually add the properties you want.