找回密码
 立即注册

QQ登录

只需一步,快速开始

mindrayguowei

中级会员

122

主题

274

帖子

986

积分

中级会员

积分
986

活字格认证

QQ
mindrayguowei
中级会员   /  发表于:2016-3-24 09:04  /   查看:2786  /  回复:3
如何给ButtonBar设置自定义的字体大小, 加粗, Zoom百分比等各种值
以及如何恢复成默认数据?

3 个回复

倒序浏览
gw0506
超级版主   /  发表于:2016-3-24 10:07:12
沙发
你翻译下文档,先了解一下这些问题,基本都有答案。
在Class Library Reference --> TXTextControl namespace --> ButtonBar Class 中。
PropertiesPropertyDescription
BorderStyleGets or sets the border style of the button bar.
ButtonOffsetsGets or sets an array of additional offsets, in pixels, between the buttons.
ButtonPositionsGets or sets an array of buttons the button bar consists of.
ButtonSeparatorsGets or sets an array of boolean values specifying whether or not a separator is drawn between two buttons.
ButtonStyleGets or sets the painting style of the buttons.
DisplayColorsGets or sets the colors of the button bar.
MethodsMethodDescription
ResetButtonOffsetsResets the offset array to its default state.
ResetButtonPositionsResets the button array to its default state.
ResetButtonSeparatorsResets the separator array to its default state.
ResetDisplayColorsResets all display colors of a button bar to their system dependent default values.



回复 使用道具 举报
美国队长
注册会员   /  发表于:2016-3-25 17:36:02
板凳
楼主搞定了吗?分享下
回复 使用道具 举报
gw0506
超级版主   /  发表于:2016-3-25 18:16:26
地板
美国队长 发表于 2016-3-25 17:36
楼主搞定了吗?分享下

我没有搞啊~
文档给你了,就那些接口,你看你具体什么需求,设置哪些接口就好了~
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部