Previous Topic

Next Topic

Memo Components

See also Report Designer Component Properties for properties common to all components.

Memo components store a link to a text file, they do not embed the text. All users who access the report will need access to the location of the text file. You can use Memo Components to show Terms and Conditions, or for notes on GL Reports.

Memo components have the following properties:

Alignment

Set options to align the component:

  • taLeftJustify - The text if left justified within the component.
  • taCenter - The text is centred within the component.
  • taRightJustify - The text is right justified within the component.

AlignWithMargins

When True, the component will align with the page margins.

Font

Determines the font of the printed output. Click Open Font Dialog (F2) to select the font, style, size and characteristics. You can change the font by clicking the appropriate buttons on the toolbar. If you change the font, the ParentFont property (see below) will be set to False. The font properties - Name, Size, Colour, Bold, Underline, Italic and Strikeout can be accessed from MaxBasic code during a report. The font can be changed while a report is running to identify certain types of data.

MemoPath

The directory path and name to the file containing the memo text.

Standard text (*.txt) and rich text format (*.rtf) files are supported. The Font and ParentFont properties are ignored for .rtf files as these contain embedded font information.

To select a file, you can:

  • Type the full file path and file name.
  • Click Select File (F2) to browse for a text file.
  • Double-click the memo component to open the browser.

Note: We do not recommend using Microsoft Word to edit .rtf files, as Word uses non-standard RTF extensions.

ParentCustomHint

When True, uses the Custom Hint of the parent Band.

ParentFont

When True, uses the Font of the parent Band. Setting this property to True means you can change the font of a band (or the entire report) and have all components on that band (or the report) change to the same font.

See Also

Report Designer Components

Book Contents

Book Index