码迷,mamicode.com
首页 > 其他好文 > 详细

控件风格19种,挨个一网打尽

时间:2016-02-08 21:17:02      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:

{ New TControlStyles: csNeedsBorderPaint and csParentBackground.

These two ControlStyles are only applicable when Themes are Enabled
in applications on Windows XP. csNeedsBorderPaint causes the
ThemeServices to paint the border of a control with the current theme.
csParentBackground causes the parent to draw its background into the
Control‘s background; this is useful for controls which need to show their
parent‘s theme elements, such as a TPanel or TFrame that appear on a
TPageControl. TWinControl introduces a protected ParentBackground
property which includes/excludes the csParentBackground control style.
}


TControlStyle = set of (csAcceptsControls, csCaptureMouse,
csDesignInteractive, csClickEvents, csFramed, csSetCaption, csOpaque,
csDoubleClicks, csFixedWidth, csFixedHeight, csNoDesignVisible,
csReplicatable, csNoStdEvents, csDisplayDragImage, csReflector,
csActionClient, csMenuEvents, csNeedsBorderPaint, csParentBackground);

控件风格19种,挨个一网打尽

标签:

原文地址:http://www.cnblogs.com/findumars/p/5185171.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!