TWPStyleDlg = class(TWPCustomAttrDlg)
TComponent <--TWPCustomAttrDlgAbstract <--TWPCustomAttrDlg <--TWPStyleDlg
This dialog can be used to edit the styles which are stored in a TWPRichText editor control. You only need to assign the editor to the property EditBox and call the procedure Execute.
The dialog can modify styles and edit styles. It also contains a button to locate paragraphs which are using the selected style.