Hi there,
How is it possible to set a NextStyle ?
When a create a style i use the following code:
memo.SelectStyle("Normal");
memo.CurrStyleAttr.SetFontface("Arial");
memo.CurrStyleAttr.SetFontSize(11);
memo.CurrStyle.Alignment = 0;
Where can i set what the NextStyle should be for the next paragraph ? Searching for NextStyle doesn't give me any topics in the help (pdf).
At the moment i save the previously selected StyleName in a global variable currentStyleName, then in the OnInitializePar event, i set the Paragraph.StyleName to either "Normal" or the currentStyleName using a switch statement. This is not a very elegant solution.
Thanks,
Richard