FireMonkey

<< Click to display table of contents >>

FireMonkey

TRichView supports the following platforms in FireMonkey:

Windows 32-bit and 64-bit (RAD Studio XE6 and newer)

macOS 64-bit (Delphi 10.3 and newer)

macOS ARM 64-bit (Delphi 11 and newer)

Android 32-bit and 64-bit (RAD Studio 10.4 and newer)

Linux 64-bit (Delphi 10.3 and newer + FMXLinux 1.74 or newer)

iOS 64-bit (Delphi 10.4 and newer)

iOS 64-bit ARM Simulator (Delphi 11 and newer)

Currently, the following sets of components are ported to FireMonkey:

TRichView

RvHtmlImporter (deprecated, use HTML loading methods instead)

RichViewXML

Differences between VCL/LCL version and FireMonkey version:

Feature

VCL and LCL

FireMonkey

Comments

Color type

TColor

Semi-transparency is supported only for objects that have Opacity property (paragraph, table, cell backgrounds)

TAlphaColor

Semitransparent colors are allowed anywhere.

You can use TRVColor type

Graphic type

Classes inherited from TGraphic: TBitmap, TPngImage, etc.

TRVGraphicFM

Not supported: Windows Metafiles and GIF animations.

You can use TRVGraphic class

Font size type

Integer

Single

You can use TRVFontSize type

Coordinate type

Integer

Single

You can use TRVCoord, TRVCoordRect, TRVCoordPoint types

Windows system colors

Can be used (for example, clWindow)

Cannot be used.

When reading files, these colors are mapped to the most appropriate TAlphaColor constant (clNone is mapped to TAlphaColorRec.Null)


Text attributes

All

Not supported: character scaling, character spacing


Paragraph attributes

All

Not supported: "distribute" alignment


Mouse cursors

Custom cursors are used

Only standard mouse cursors are used

See about cursors.

Zooming in TRichView

DocumentPixelsPerInch

ZoomPercent