Horizontal Line and Style

General TRichView support forum. Please post your questions here
Post Reply
standay
Posts: 332
Joined: Fri Jun 18, 2021 3:07 pm

Horizontal Line and Style

Post by standay »

Hi Sergey,

When I insert a break (horizontal line) I have to add an ApplyStyleTemplate(0) call after every InsertBreak call to keep the correct style name in the styles combo (otherwise it's blank when it should say "Normal"). It does this if I use the HLine rv action as well.

But, the ActionTestUni demo app does not seem to have this issue. How are you getting it to do that? I've looked through the code and components and I can't find how you keep the style combo working when inserting a break.

Thanks

Stan
Post Reply