trichview.com

trichview.support




Re: Default Text style


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/03/2004 17:31:04


> 1. If TRichViewEdit is created at runtime, will the mentioned properties

> being set by default?


No. Only at design time. TRichViewEdits created at runtime and at designtime

have different initial values of properties.

(This is because I cannot change initial values of properties of components

created at runtime because of compatibility problems)

In the designtime component editor (right click - "Settings") you can see a

list of properties and values that must be changed.


>

> 2. Since each rve requires a new rvs, then my rvs has be created during

> runtime too. When the rvs is assigned to the rve, how can I overwrite the

> text styles which created by default when rvs is created? For example,

rve1

> has text styles[0] with bold font while rve 2 has text styles[0] of italic

> font. Since rvs will have default text styles being created when the

> component is created, what should I do to change it base on the rve

loaded?


You can remove default styles and add your own styles.

When RVF document containing styles will be loaded (with the proper settings

of properties), the styles from document will replace the existing styles in

RVStyle


>





Powered by ABC Amber Outlook Express Converter