当前位置:网站首页>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 -重画,当鼠标移进或者移出指定的文本类型时重画样式;
边栏推荐
- [today in history] June 3: Microsoft launched Bing search engine; Larry Roberts starts ARPANET; The father of Visual Basic was born
- How to run unity webgl after packaging (Firefox configuration)
- Flashtext, a data cleaning tool, has directly increased the efficiency by dozens of times
- Is it reliable to invest in the inter-bank certificate of deposit fund? Is the inter-bank certificate of deposit fund safe
- [today in history] June 8: the father of the world wide web was born; PHP public release; IPhone 4 comes out
- Severe Tire Damage:世界上第一个在互联网上直播的摇滚乐队
- [block coding] simulation of image block coding based on MATLAB
- 《天天数学》连载53:二月二十一日
- Get 5 offers after being notified of layoffs
- [today in history] June 24: Netease was established; The first consumer electronics exhibition was held; The first webcast in the world
猜你喜欢

Initial linear regression
![Packet capturing and sorting out external Fiddler -- understanding the toolbar [1]](/img/5f/24fd110a73734ba1638f0aad63c787.png)
Packet capturing and sorting out external Fiddler -- understanding the toolbar [1]

【二維碼圖像矯正增强】基於MATLAB的二維碼圖像矯正增强處理仿真

Différences d'utilisation entre IsEmpty et isblank

Raspberry pie - environment settings and cross compilation

TensorRT 模型推理优化实现

Domain Name System
![[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

微信小程序中生成二维码

CMU puts forward a new NLP paradigm - reconstructing pre training, and achieving 134 high scores in college entrance examination English
随机推荐
[today in history] June 11: the co inventor of Monte Carlo method was born; Google launched Google Earth; Google acquires waze
[today in history] June 6: World IPv6 launch anniversary; Tetris release; Little red book established
[inverted pendulum control] Simulink simulation of inverted pendulum control based on UKF unscented Kalman filter
[block coding] simulation of image block coding based on MATLAB
Desai wisdom number - histogram (column folding mixed graph): ratio of rental price to rental income in the graduation quarter of 2021
测试要掌握的技术有哪些?软件测试必懂的数据库设计大全篇
What if win11 cannot use dynamic wallpaper? Solution of win11 without dynamic wallpaper
Reprinted article: the digital economy generates strong demand for computing power Intel releases a number of innovative technologies to tap the potential of computing power
Mixed programming of C language and assembly language in stm32
[fuzzy neural network] simulation of fuzzy neural network based on MATLAB
Exploration on the construction path of real-time digital warehouse integrating digital intelligence learning and streaming batch
Writing based on stm32
Win11无法使用动态壁纸怎么办?Win11用不了动态壁纸的解决方法
[today in history] May 31: the father of Amiga was born; The co developer of basic language was born; BlackBerry BBM shutdown
Digital intelligence learning Lake Warehouse Integration Practice and exploration
Interpretation of bilstm-crf in NER forward_ algorithm
MFC CString to LPVOID
Heartless sword English Chinese bilingual poem 004 Meditation
无心剑汉英双语诗004.《剑》
ByteDance Interviewer: how to calculate the memory size occupied by a picture