FMX.Objects.TCalloutPosition
Delphi
TCalloutPosition = (Top, Left, Bottom, Right);
C++
enum class DECLSPEC_DENUM TCalloutPosition : unsigned char { Top, Left, Bottom, Right, cpTop _DEPRECATED_ATTRIBUTE3("Use TCalloutPosition.Top") = 0, cpLeft _DEPRECATED_ATTRIBUTE3("Use TCalloutPosition.Left") = 1, cpBottom _DEPRECATED_ATTRIBUTE3("Use TCalloutPosition.Bottom") = 2, cpRight _DEPRECATED_ATTRIBUTE3("Use TCalloutPosition.Right") = 3 };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | FMX.Objects |
Description
Defines where, on one of the four sides of a rectangle, a callout pointer appears.
The TCalloutPosition type defines the following constants:
Constant | Meaning |
---|---|
|
The upper side. |
|
The left side. |
|
The lower side. |
|
The right side. |
By default, TCalloutPanel is rendered as a TCalloutRectangle, which is a rectangle with an isosceles triangle on one of its four sides. Both classes have a CalloutPosition property to choose the side on which the triangle should appear: top, left, bottom, or right.