当前位置:网站首页>RichView TRVStyle
RichView TRVStyle
2022-06-28 01:23:00 【lyhoo163】
RichView TRVStyle
一、TRVStyle
这个组件在运行时是不可见的,TRVSTYLE是派生类,直接继承TCOMPONENT。如果你想显示RICHVIEW里面的文档,只用把要显示的RICHVIEW关联TRVStyle组件即可。(创建一个TRVSTYLE后把,RICHVEIW的STYLE属性关联这个TRVSTLE)。
同样 RichView, RichViewEdit, DBRichView, DBRichViewEdit 都可以关联这个TRVSTYLE,方法相同。
如果一个TRVSTYLE关联多个组件后,当其中一个组件要删除这个TRVSTYLE后,其它的组件就不能继续使用这个TRVSTYLE,解决办法就是一个组件关联一个TRVSTYLE。
二、属性
RVSTYLE有三个主属性:
(1)TEXTSTYLES- 主要是设置一些文本样式;
(2)PARASTYLES- 段落标题样式
(3)LISTSTYLES- 段落标题样式列表
RVSTYLE颜色属性:
.Color - 背景色;
.SelColor, InactiveSelColor - 选择文本的背景色;
.SelTextColor, InactiveSelTextColor - 选择文本的颜色;
.DisabledFontColor - 控件不可能时文本的颜色.
.HoverColor - 超文本的颜色;
.CheckpointColor -检查点虚线颜色;
.CheckpointEvColor - 检查点事件虚线颜色;
.PageBreakColor - 文档隔断颜色;
.FloatingLineColor - 左右占位符颜色
RVSTYLE:鼠标样式;
.JumpCursor - 超文本样式
.LineSelectCursor - 左边栏样式.
LABEL元素相关属性
.FieldHighlightColor - 高亮显示颜色.
.FieldHighlightType -高亮显示模式(有三种).
.FootnoteNumbering - 一些页脚类型.
.FootnotePageReset - 页脚模式.
.EndnoteNumbering - 尾注类型.
RVSTYLE其它属性;
.SelectionStyle - 文档外观选择;
.SelectionMode - 选择模式;
.DefUnicodeStyle - 默认Unicode 文本样式;
.DefCodePage - ANSI <->Unicode 自动转换;
.LineWrapMode 文本框类型;
.UseSound. 声音开关
二、方法
RVSTYLE方法;
.SaveINI 保存 RVStyle 属性到INI文件;
.LoadINI 加载 RVStyle 属性从INI文件;
.SaveReg 保存 RVStyle 属性到注册文件;
.LoadReg 加载 RVStyle 属性到注册文件.
.SaveCSS 保存 RVStyle 样式到CSS文件
.SaveCSSToStream.保存.RVStyle样式为CSS文件,然后保存到流
三、事件
RVSTYLE事件
.OnDrawCheckpoint 画检查点;
.OnDrawPageBreak - 画分隔线;
.OnDrawParaBack - 画段落背景;
.OnDrawTextBack - 画文本背景;
.OnApplyStyle - 保存文本类型到画布;
.OnApplyStyleColor - 保存文本颜色到画布;
.OnDrawStyleText - 指定的文本类型;
.OnStyleHoverSensitive -重画,当鼠标移进或者移出指定的文本类型时重画样式;
边栏推荐
- 面试:List 如何根据对象的属性去重?
- Win11无法使用动态壁纸怎么办?Win11用不了动态壁纸的解决方法
- PHP 代码 微信、公众号、企业微信 发送表情符号 [U+1F449]
- PSM总结
- 《天天数学》连载53:二月二十一日
- Which securities platform is the best and safest for a novice to open a stock trading account
- [issue 21] face to face experience of golang engineer recruited by Zhihu Society
- 毕业季来临,2022届高校毕业生人数首次突破千万大关
- 【 amélioration de la correction d'image de Code bidimensionnel】 simulation du traitement d'amélioration de la correction d'image de Code bidimensionnel basée sur MATLAB
- win11如何添加打印机和扫描仪?win11添加打印机和扫描仪的设置
猜你喜欢

Arduino Esp8266 Web LED控制
![[today in history] June 8: the father of the world wide web was born; PHP public release; IPhone 4 comes out](/img/1b/31b5adbec5182207c371a23e41baa3.png)
[today in history] June 8: the father of the world wide web was born; PHP public release; IPhone 4 comes out
![[today in history] June 13: parent-child disputes in packet switched networks; The founder of game theory was born; The embryonic form of interactive television](/img/2c/01e3be3c5b4f8e6a7853547ffd1bbd.png)
[today in history] June 13: parent-child disputes in packet switched networks; The founder of game theory was born; The embryonic form of interactive television

Character interception triplets of data warehouse: substrb, substr, substring

Feign远程调用fallback回调失败,无效果

ByteDance Interviewer: how to calculate the memory size occupied by a picture

CMU puts forward a new NLP paradigm - reconstructing pre training, and achieving 134 high scores in college entrance examination English

树莓派-环境设置和交叉编译

math_ (function & sequence) meaning of limit & misunderstanding and symbol sorting / neighborhood & de centring neighborhood & neighborhood radius

math_(函数&数列)极限的含义&误区和符号梳理/邻域&去心邻域&邻域半径
随机推荐
Which securities platform is the best and safest for a novice to open a stock trading account
[2D code image correction and enhancement] simulation of 2D code image correction and enhancement processing based on MATLAB
[kotlin] basic introduction and understanding of its syntax in Android official documents
Heartless sword English Chinese bilingual poem 004 Meditation
Packet capturing and sorting out external Fiddler -- understanding the toolbar [1]
Built in functions for MySQL database operations
榜单首发——前装搭载率站上10%大关,数字钥匙方案供应商TOP10
基于STM32的编写
JDBC and MySQL databases
Win11无法使用动态壁纸怎么办?Win11用不了动态壁纸的解决方法
Livedata interview question bank and answers -- 7 consecutive questions for livedata interview~
初始线性回归
[today in history] June 2: Apple launched swift programming language; China Telecom acquires China Unicom C network; OS X Yosemite release
腾讯游戏发布40多款产品与项目 其中12款为新游戏
Moving Tencent to the cloud: half of the evolution history of cloud server CVM
在线JSON转PlainText工具
[today in history] June 23: Turing's birthday; The birth of the founder of the Internet; Reddit goes online
在线文本按行批量反转工具
[today in history] June 6: World IPv6 launch anniversary; Tetris release; Little red book established
be fond of the new and tired of the old? Why do it companies prefer to spend 20K on recruiting rather than raise salaries to retain old employees