当前位置:网站首页>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 ..
边栏推荐
- Wechat applet; Gibberish generator
- Pytorch common code snippet collection
- 增量备份 ?db full
- "2022" is a must know web security interview question for job hopping
- 172. Zero after factorial
- 流批一体在京东的探索与实践
- 线上故障突突突?如何紧急诊断、排查与恢复
- Hedhat firewall
- What sparks can applet container technology collide with IOT
- JVM - when multiple threads initialize the same class, only one thread is allowed to initialize
猜你喜欢
runc hang 导致 Kubernetes 节点 NotReady
Win:使用 Shadow Mode 查看远程用户的桌面会话
力扣剑指offer——二叉树篇
Kibana installation and configuration
Hedhat firewall
JS implementation determines whether the point is within the polygon range
PowerShell: use PowerShell behind the proxy server
小程序容器技术与物联网 IoT 可以碰撞出什么样的火花
Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
Introduction to redis (1)
随机推荐
Database postragesq peer authentication
JS implementation determines whether the point is within the polygon range
Runc hang causes the kubernetes node notready
Grpc message sending of vertx
WCF: expose unset read-only DataMember property- WCF: Exposing readonly DataMember properties without set?
Five ways to query MySQL field comments!
Incremental backup? db full
Comment mettre en place une équipe technique pour détruire l'entreprise?
Win: add general users to the local admins group
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
微信小程序:微群人脉微信小程序源码下载全新社群系统优化版支持代理会员系统功能超高收益
Classification of performance tests (learning summary)
Win: enable and disable USB drives using group policy
微信小程序:最新wordpress黑金壁纸微信小程序 二开修复版源码下载支持流量主收益
Can financial products be redeemed in advance?
如何搭建一支搞垮公司的技術團隊?
What is the length of SHA512 hash string- What is the length of a hashed string with SHA512?
19. Delete the penultimate node of the linked list
Tla+ through examples (XI) -- propositional logic and examples