Hi guys, this might not be the right forum to ask this but here goes:
Is it possible to use Delphi components, i.e. TShape etc. with DelphiX?
My attempt:
Code:
// The shape Class
TShape = class(TGraphicControl)
private
public
end;
procedure TForm1.ShapeCreate;
begin
Shape := TShape.Create(TComponent.Create(shape));
Shape.Parent := dxdraw1;
shape.Color := clRed;
shape.Canvas.RoundRect(100,100,150,150,170,200);
end;
Problem with the above is that the shape is not displayed/visible...any ideas?
Bookmarks