trichview.com

trichview.support




Re: Default Text style


Return to index


Author

Message

Chia Chen Yap

Posted: 04/05/2004 14:34:06


So, what should I do to set the property at runtime?



"Sergey Tkachenko" <svt@trichview.com> wrote in message

news:406ecfdf$3@support.torry.net...

> > 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