TEdgeBorders is the type of the EdgeBorders property.
TEdgeBorder = ( ebLeft, ebTop, ebRight, ebBottom );
enum TEdgeBorder { ebLeft, ebTop, ebRight, ebBottom };
TEdgeBorders is a set of TEdgeBorder values. Each TEdgeBorder value indicates whether a beveled edge appears on a particular side of a control. The following table lists the TEdgeBorder values:
Value |
Meaning |
ebLeft |
The control has a beveled left edge. |
ebTop |
The control has a beveled top edge. |
ebRight |
The control has a beveled right edge. |
ebBottom |
The control has a beveled bottom edge. |
In addition to the values in the preceding table, the QGraphics unit defines the ebRect constant to represent all the edges of a control:
const ebRect = [ebLeft, ebTop, ebRight, ebBottom];
#define ebRect (System::Set<TEdgeBorder, ebLeft, ebBottom> () << TEdgeBorder(0) << TEdgeBorder(1) << TEdgeBorder(2) << TEdgeBorder(3) )
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|