Home > Back-end >  Fastreport Frxrichview character in the center of how to use the code sets?
Fastreport Frxrichview character in the center of how to use the code sets?

Time:09-18

As title, centered in edit mode, but the runtime dynamically changed the content, not centered, code:

TfrxRichView * Frx_rv=(TfrxRichView *) frxReport1 - & gt; Rich1 FindComponent (" ");
Frx_rv - & gt;> RichEdit - & gt; Text=PJQEdit2 - & gt; The Text;//change the content
Frx_rv - & gt; RichEdit - & gt; SelStart=0;
Frx_rv - & gt; RichEdit - & gt; SelLength=100;//choice to deal with the characters
Frx_rv - & gt; RichEdit - & gt; SelAttributes - & gt; Size=10;//set the font size 10
Frx_rv - & gt; RichEdit - & gt; The Align=haCenter;//it is no use seems to be the component position in the

Which master know which properties can be set to?

CodePudding user response:

Top ~ ~ don't sink at a time

CodePudding user response:

HaCenter to
Enumerated types: : haCenter
Have a try?

CodePudding user response:

Brothers, say detailed point, haCenter enumeration element, isn't it? Stick a piece of code is the best ~
  • Related