Vcl.ToolWin.TEdgeBorder

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TEdgeBorder = (ebLeft, ebTop, ebRight, ebBottom);

C++

enum DECLSPEC_DENUM TEdgeBorder : unsigned char { ebLeft, ebTop, ebRight, ebBottom };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.ToolWin.pas
Vcl.ToolWin.hpp
Vcl.ToolWin Vcl.ToolWin

Description

TEdgeBorders is the type of the EdgeBorders property.

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<[[Vcl.ToolWin.TEdgeBorder|TEdgeBorder]], ebLeft, ebBottom> () << TEdgeBorder(0) << TEdgeBorder(1) << TEdgeBorder(2) << TEdgeBorder(3) )