Access to GradientStyle [TfrxShapeView property]

SilvestreSilvestre Barcelona
edited 6:55PM in FastReport VCL 5
Hello friends,

How can I access the property that sets the gradient type of a TfrxShapeView rectangle? I'd like to change by code to gsElliptic mode, but I can't access the GradientStyle property.
Shape.FillType := ftGradient; //   Step 1 OK  -  Step 2: ?? ?
Thank you for your help,
Silvestre

Comments

  • SilvestreSilvestre Barcelona
    edited January 2018
    I share here the solution for others who might encounter the same question,
    thanks to Paul for his help in coding;
    TfrxGradientFill(Shape.Fill).GradientStyle := gsElliptic;
    

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.