当前位置:网站首页>RichView TRVStyle MainRVStyle
RichView TRVStyle MainRVStyle
2022-07-05 01:48:00 【lyhoo163】
RichView TRVStyle MainRVStyle
One 、TRVStyle
stay RichView in ,TRVStyle Is an important part of the Commission , It all fonts 、 The paragraph 、Page Source of style .
In the use of RichView when , Especially through code creation DOC Document or form , Especially important .
In addition to the following three attributes :
(1)TEXTSTYLES- It mainly sets some text styles ;
(2)PARASTYLES- Paragraph Title Style
(3)LISTSTYLES- Paragraph Title Style list
TRVStyle There are also two important attributes MainRVStyle.
Two 、MainRVStyle
1、 function
It is A collection of realistic styles , control TextStyles Text attributes and parastyle Paragraph attributes in .
property StyleTemplates : TRVStyleTemplateCollection;
2、 Use templates
1、richview Control ,UseStyleTemplates=True;
2、 Distribute MainRVStyle
RVStyle.StyleTemplates Back to you MainRVStyle.styletemplates The value set in .
3、TRVStyle.MainRVStyle
Define the master for this component TRVStyle Components .
property MainRVStyle: TRVStyle;
4、 attribute
If this MainRVStyle Assigned , This TRVStyle Almost all properties of an object provide a pair of MainRVStyle Access to corresponding attributes .
The following properties are not affected :
TextStyles
ParaStyles
ListStyles
All events
This property allows :
Multiple editors can handle the same set of style templates
Simplify the assignment of other attributes ( A set of linked TRVStyle Objects share properties , So assigning a value to any one of them is enough )
If a TRichView Component is used as header / The footer ( And use the style template ), It must have style.MainRVStyle Specify Style.
srv_icon ScaleRichView Be careful :
TSRichViewEdit Provide srve.RichViewEdit.Style = srve.RVHeader.Style.MainRVStyle = srve.RVFooter.Style.MainRVStyle.
In the new RichView20 Page , Expanded functions , How to use it needs further study ..
边栏推荐
- Huawei machine test question: longest continuous subsequence
- MySQL regexp: Regular Expression Query
- 微信小程序;胡言乱语生成器
- PowerShell: use PowerShell behind the proxy server
- Visual studio 2019 set transparent background (fool teaching)
- Interesting practice of robot programming 14 robot 3D simulation (gazebo+turtlebot3)
- Nebula importer data import practice
- Win:使用组策略启用和禁用 USB 驱动器
- 如何做一个炫酷的墨水屏电子钟?
- The steering wheel can be turned for one and a half turns. Is there any difference between it and two turns
猜你喜欢
微信小程序;胡言乱语生成器
DOM basic syntax
如何搭建一支搞垮公司的技術團隊?
Do you know the eight signs of a team becoming agile?
One plus six brushes into Kali nethunter
Wechat applet: independent background with distribution function, Yuelao office blind box for making friends
JS implementation determines whether the point is within the polygon range
Introduction to redis (1)
Logstash、Fluentd、Fluent Bit、Vector? How to choose the appropriate open source log collector
微信小程序:最新wordpress黑金壁纸微信小程序 二开修复版源码下载支持流量主收益
随机推荐
Interesting practice of robot programming 16 synchronous positioning and map building (SLAM)
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
Runc hang causes the kubernetes node notready
微信小程序:星宿UI V1.5 wordpress系统资讯资源博客下载小程序微信QQ双端源码支持wordpress二级分类 加载动画优化
流批一体在京东的探索与实践
Application and Optimization Practice of redis in vivo push platform
[CTF] AWDP summary (WEB)
Es uses collapsebuilder to de duplicate and return only a certain field
Binary tree traversal - middle order traversal (golang)
Database postragesq PAM authentication
I use these six code comparison tools
R语言用logistic逻辑回归和AFRIMA、ARIMA时间序列模型预测世界人口
PowerShell: use PowerShell behind the proxy server
Subject 3 how to turn on the high beam diagram? Is the high beam of section 3 up or down
179. Maximum number - sort
Comment mettre en place une équipe technique pour détruire l'entreprise?
The MySQL team development specifications used by various factories are too detailed. It is recommended to collect them!
Limited query of common SQL operations
Rabbit MQ message sending of vertx
PHP 约瑟夫环问题