I\'m working with Firemonkey in Delphi XE4 and I\'m unable to create a new component using the menu item Component -> New Component. Whether the component is a VCL or Firemonkey
Creating components is fairly straightforward in code.
Add a Register procedure.
procedure Register;
begin
RegisterComponents('NewPage', [TMyComponent]);
end;
Add a declaration for Register in the implements section.
Add a call to RegisterFMXClasses in your initialization section.
implementation
uses FMX.Types;
...
initialization
RegisterFMXClasses([TMyComponent]);
end.
Create a package.
(Note: It's usually best to create your component at run time whilst testing. You only need to do the package stuff once it's fairly stable).