Jump to content

JusJJ

Members
  • Content Count

    11
  • Joined

  • Last visited

Posts posted by JusJJ


  1. Is it somehow possible to change the background color and remove borders of the (string)grid in FMX?

    I would like to align the data in a 4 x 10 grid but only keep the text visible and hide background and borders.


  2. Hi,

    Is there a way to prevent drawing outside the canvas?
    If, for example, I have a rectangular shape on which I draw an ellipse and I want to limit the drawing to the area of the shape.

    procedure TForm1.shapePaint(Sender: TObject; Canvas: TCanvas;
      const ARect: TRectF);
      var
      x,y :integer;
      circle : TRectF;
    begin
    
        x:=round(shape.Width/2);
        y:=round(shape.Width/2);
    
        circle:=TRectF.Create(x-190,y-190,x+100,y+100);
        shape.Canvas.Stroke.Color:=TAlphaColors.Black;
        shape.Canvas.DrawEllipse(circle,50);
    end;

    Now part of it is also drawn outside the shape.

    form.jpg


  3. Hi,

     

    I haven't used Delphi since version 6 but I thought now to try it again after a long break. So I downloaded community edition but noticed that floating form designer has disappeared.

    I remember it was easy to design a gui in the past but now it is really difficult.

    Is there any way to get a form designer full screen size? 

×