Sign in Join
Wiki copytemporary

RichMemo/Defines

The following defines are used within the component. You can use those to fix the compilation on your Lazarus setup.

Each define is prefixed with "RM" (which stands for Rich Memo). This is used

Reference

RMLCL18
the defines indicates that the RichMemo is built with Lazarus 1.8 (or earlier).

It was introduced to resolve the compilation of RichMemo for Cocoa widgetset. In Lazarus 2.0 the Cocoa units were rearranged.

RMCARBONSELSTART
the define changes how SetSelStart works for RichMemo. On each selection a notification OnSelection change needs to be fired.

Adding a Define

text
-dRMLCL18

if you need multiple defines, separate them with space

text
-dRMLCL18 -dRMCARBONSELSTART

See Also


From the Free Pascal wiki, page "RichMemo/Defines", as it stood on 2018-11-10 after a change by Skalogryz, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Edited on wiki.freepascal.org by 1 person, 2018

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
SkalogryzCreated page
Skalogryz (minor)
SkalogryzSee Also (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.