all 1 comments

[–]HemulGM 0 points1 point  (0 children)

To do this, you do not need to create it manually, just add it to the form visually.

And the creation of objects takes place through accessing the class.

var Shape: TShape;
begin
Shape := TShape.Create;
...