Function TWPRTFStyleCollection.GetStringList(list:TStrings; AddDefault:Boolean; ThisName:string) : Integer

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFStyleCollection

Parameters

  • list:TStrings
  • AddDefault:Boolean
  • ThisName:string

Returns

The type of the result value is Integer.

Description

This procedure clears the list first and then fills it with the names of the styles in ascending order.
Optionally the two first entries will be set to >default< and >new style...<. If a name is passed as parameter ThisName the result value will be the index of the name into the list.