Hello,
i have a TWPRichText that is controlled by a style collection.
The style collection contains a style ("Normal") where next style is set to "Normal". The style is created in designmode in the IDE.
When i start the program "Normal" is selected as style for the text but when i create a new paragraph it does not have "Normal" as style, is has "<Default>".
When i edit the "Normal" style at runtime the next style attribute that was set at designtime is cleared. Only after setting it at runtime with the dialog i get the expected result that new paragraphs have the style "Normal"
Currently i do not save or load the styles to/from CSS, they are only created at designtime inside the Delphi IDE.
Why is the next style attribute cleared (bug or "by design"??)?
Ciao,
Ralf