Change Font Of Variable

edited July 2012 in FastReport 4.0
<!--fonto:Tahoma--><span style="font-family:Tahoma"><!--/fonto-->Hello

In FastReport I Use memo . in memo use this "
wrote:
the customer family [CUS_FAMILY] and name [cus_name] .......
"

in delphi send value to fastreport "
Report1.Script.Variables['CUS_FAMILY'] := e_family.text;
"


can i change the font only the parameter that i send ???? for example cus_family change to "bold" ?<!--fontc--></span><!--/fontc-->

Comments

  • edited 6:41PM
    no way to solve this ?!!!!
  • edited 6:41PM
    It doesn't look so.
  • gordkgordk St.Catherines On. Canada.
    edited 6:41PM
    the tfrx memoview supports the use of a limited set of tags place the tags on eithee side of the [ ] braces
  • edited July 2012
    <!--fonto:Tahoma--><span style="font-family:Tahoma"><!--/fonto-->i want 1 sentence in fastreport wtihout space and user 1 memo

    for example :
    wrote:
    the customer information [cus_name] [cus_family] and .........
    in show when i send the variable into fastreport shows this
    wrote:
    the customer information michael jackson and .....
    but this better that [cus_name] [cus_family] fonts is bold like this
    wrote:
    the customer information michael jackson and .....

    if any way to solve this help me !
    <!--fontc--></span><!--/fontc-->
  • gordkgordk St.Catherines On. Canada.
    edited 6:41PM
    as i stated the memoview supports limited set of html tags
    you can also see this if you run the main demo and look at the html tags report.
    Set the memo's allow html tags property to true
    and add tags around [ ] braces'
    [cus_name] [cus_family]
  • edited July 2012
    thank you . its work fine .


    but in other language like "farsi" when used "RTLReading" AND "Html" Properties --- align memo is not worked fine!!!why?

    when used "RTLReading" without "Html" --align memo work fine.
  • edited 6:41PM
    with memo ,1sentence and some word "bold" and "rtl reading" worked fine?
    any other solution ?

    this is bug :that "rtl reading" and "html tag" together not worked correctly???
  • edited 6:41PM
    thank you
    " gordk " for your help .

    any other solution for this ??

    thank you

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.