How to get the toolbar to show the styles

  • Hi!

    I have a TWPStyleCollection which I load some styles to and I have a TWPToolBar component. In my TWPRichText I have connected the toolbar and the style collection using the WPStyleCollection and the WPToolBar properties.

    My problem is that the paragraph style combobox is empty. I know I have some styles in the style collection because I can see them in my TWPStyleDlg.

    What else do I need to do to show my styles in toolbar?

    /Fredrik

    • Offizieller Beitrag

    There is a TWPComboBox which can list the styles. It can also be placed on a TWPToolBar. For historical reasons the TWPToolBar 'style' combobox is reservered for other use and not filled automatically.

    Julian Ziersch