BaseStyleNo

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

BaseStyleNo

Post by standay »

Sergey,

I was curious as to exactly what BaseStyleNo is used for. I looked in the help and it's listed as a property but no details on it are there.

I'm wondering if you create a new textstyle and set the BaseStyleNo in that to an existing style, can you then make a change to the original existing style and have that "auto-update" any other styles that use that style no as the new style's BaseStyleNo? Not sure that's clear but any info appreciated.

Stan
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: BaseStyleNo

Post by Sergey Tkachenko »

It does nothing.
Initially, there were plans to implement something like you described.
But finally this auto-update functionality was implemented in StyleTemplates property.
standay
Posts: 274
Joined: Fri Jun 18, 2021 3:07 pm

Re: BaseStyleNo

Post by standay »

Sergey Tkachenko wrote: Mon Sep 06, 2021 7:20 pm It does nothing.
Initially, there were plans to implement something like you described.
But finally this auto-update functionality was implemented in StyleTemplates property.
Ah, ok, I think I saw that in another post and forgot about it. Thanks.

The thing I've struggled with the most are the styles and style templates. I pretty much gave up on the templates. I found it easier to just do what I want in code with regular text and para styles. I still have 2 templates in my app but plan to replace those soon.

Stan
Post Reply