控件风格19种,必须倒背如流——其实就是控件所拥有的能力,即有条件使用VCL框架所提供的(功能)代码

时间:2021-06-11 05:36:09

{ 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);

http://www.cnblogs.com/huangjacky/archive/2010/02/26/1674621.html
http://www.cnblogs.com/huangjacky/archive/2010/03/03/1677087.html

-----------------------------------------------------------------------------

举例说明: