当前位置:网站首页>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 ..
边栏推荐
- One plus six brushes into Kali nethunter
- PHP 基础篇 - PHP 中 DES 加解密详解
- PHP wechat official account development
- After reading the average code written by Microsoft God, I realized that I was still too young
- Application and development trend of image recognition technology
- Grpc message sending of vertx
- Mysql database | build master-slave instances of mysql-8.0 or above based on docker
- Wechat applet; Gibberish generator
- Armv8-a programming guide MMU (3)
- One plus six brushes into Kali nethunter
猜你喜欢
[swagger]-swagger learning
Interesting practice of robot programming 15- autoavoidobstacles
Application and Optimization Practice of redis in vivo push platform
Yyds dry goods inventory [Gan Di's one week summary: the most complete and detailed in the whole network]; detailed explanation of MySQL index data structure and index optimization; remember collectio
Wechat applet: exclusive applet version of the whole network, independent wechat community contacts
Game 280 of leetcode week
runc hang 导致 Kubernetes 节点 NotReady
Four pits in reentrantlock!
How to safely eat apples on the edge of a cliff? Deepmind & openai gives the answer of 3D security reinforcement learning
Incremental backup? db full
随机推荐
Exploration and Practice of Stream Batch Integration in JD
How to build a technical team that will bring down the company?
Jcenter () cannot find Alibaba cloud proxy address
[CTF] AWDP summary (WEB)
Phpstrom setting function annotation description
Application and Optimization Practice of redis in vivo push platform
线上故障突突突?如何紧急诊断、排查与恢复
Yyds dry goods inventory [Gan Di's one week summary: the most complete and detailed in the whole network]; detailed explanation of MySQL index data structure and index optimization; remember collectio
Win:使用 PowerShell 检查无线信号的强弱
Four pits in reentrantlock!
微信小程序:独立后台带分销功能月老办事处交友盲盒
The server time zone value ‘� й ��� ʱ 'is unrecognized or representatives more than one time zone【
Database postragesql client connection default
【CTF】AWDP总结(Web)
DOM basic syntax
142. Circular linked list II
Rabbit MQ message sending of vertx
Armv8-a programming guide MMU (3)
Interesting practice of robot programming 14 robot 3D simulation (gazebo+turtlebot3)
Interesting practice of robot programming 15- autoavoidobstacles