locked
changing fonts in detal section report or form RRS feed

  • Question

  • is there a way to print/show  a textbox in all different fonts , the fonts stored in a table ?
    Thursday, October 6, 2016 1:32 PM

Answers

  • In the Open-Event of the form or the Format-Event of the report, you can set the fonts as follows:

      Me!MyTextbox.FontName = "Arial"

    where you would take the name "Arial" form the correct record of your font table.

    There are also other font properties that you can set: FontBold, FontItalic, FontSize, FontUnderline, FontWeight.

    Matthias Kläy, Kläy Computing AG

    • Marked as answer by tekoko10 Thursday, October 6, 2016 3:30 PM
    Thursday, October 6, 2016 1:59 PM

All replies

  • In the Open-Event of the form or the Format-Event of the report, you can set the fonts as follows:

      Me!MyTextbox.FontName = "Arial"

    where you would take the name "Arial" form the correct record of your font table.

    There are also other font properties that you can set: FontBold, FontItalic, FontSize, FontUnderline, FontWeight.

    Matthias Kläy, Kläy Computing AG

    • Marked as answer by tekoko10 Thursday, October 6, 2016 3:30 PM
    Thursday, October 6, 2016 1:59 PM
  • Hi,

    Are you asking how to display different fonts within the same textbox? If so, you might try using the Rich Text option for the Text Format property of the textbox. However, the Rich Text format may only apply to Memo fields set to use the Rich Text format at the table level.

    Hope it helps...

    Thursday, October 6, 2016 3:00 PM
  • thank you miklaey , that worked !
    Thursday, October 6, 2016 3:31 PM