Function TWPCustomRtfEdit.FontListAssign(list:TStrings; Modes:TWPFontListAssignMode) : Integer

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

Returns

The type of the result value is Integer.

Description

Prepare a font drop down. Possible modes are
wpfla_Clear - Clear the strings
wpfla_Screen - Add screen fonts
wpfla_Favorites - Insert 10 favorites first
wpfla_InsertAtStart - Insert at position 0 instead of append mode
wpfla_Seperator - Insert a seperator after favorites
wpfla_No_AT_Fonts - exclude fonts with names starting with '@'

The function returns the count of added favorites + seperator