首页 > 其他 > 详细

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

时间:2016-02-08 21:16:17      阅读:298      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!