- A+
所属分类:[开发技巧]
控件自定义样式
FireMonkey 控件的形状,画刷,样式 纹饰这些构成了一个样式。存储在style book里面。
默认样式介绍
每一个控件类在针对每个不同的操作系统平台都有一个默认的样式,我们可以拖放一个控件在窗体设计区,右键去单击一次,选择“edit Default style”这就可以查看默认的样式了,
- checkboxstyle: TLayout (The entire control)
- TLayout (The layout for the box.)
- background: TRectangle (The box itself, which is actually a composition of:)
- TGlowEffect (Glow when the control has focus.)
- TRectangle (The outside rectangle that forms the box.)
- TRectangle (The inside rectangle.)
- TColorAnimation (Color animation when the mouse moves over.)
- TColorAnimation (and back out.)
- checkmark: TPath (The check inside the box, drawn as a path, which has:)
- TColorAnimation (Its own color animation when the check is toggled on or off.)
- background: TRectangle (The box itself, which is actually a composition of:)
- text: TText (And back under the top level, the text label.)
- TLayout (The layout for the box.)
children.
- 我的微信
- 这是我的微信扫一扫
-
- 我的微信公众号
- 我的微信公众号扫一扫
-
您可以选择一种方式赞助本站
赏