(char bold)+ sDisplayname+ (end char bold)

  • I want to know like only add to sDisplayName of the characters of control that makes it appear bold ..... (saved in the RTF)
    type:

    (char bold)+ sDisplayname+ (end char bold)

    FOnInsertField (Self, sFieldName, sDisplayName);

    hi :?

    • Offizieller Beitrag

    Hi,

    Use WP.CurrAtt.AddStyle, DelStyle to add a property before you use the InputString function to set the display text. InputField will also use the current attribute and set it in the 'insertpoint'.

    Julian