CalloutPanel¶
Qualified name: delphifmx.CalloutPanel
- class CalloutPanel¶
Bases:
PanelA container for extra information relevant to another item, with a visual indicator pointing to that item. A call-out often takes the form of a pull-quote, in which a particular snippet of text in a document is duplicated to attract attention: in a larger size, with a different typeface, in a colored box, with stylized quote marks, etc. With illustrations, boxed text will refer to different elements of interest, and each box will be drawn with extra lines that point to its element. Use TCalloutPanel to create a call-out for elements in the user interface. The call-out may be transient, like a heavy-duty tool tip. The default style is a TCalloutRectangle, a rectangle with a triangular “peak” on one of four sides. A custom style that is not a TCalloutRectangle at the root should contain one with the ResourceName “background”, so that the size and position properties for the triangle can be applied. The bounds of the control includes that peak: the longer the peak, the shorter the rectangle, and vice versa.
Methods
TStyledControl.ApplyStyleLookup() Gets and applies the style of a TStyledControl.
TStyledControl.Inflate() Call this procedure to get and apply its style lookup.
TStyledControl.NeedStyleLookup() Call this procedure to indicate that this control requires to get and apply its style lookup.
Attributes
AbsoluteClipRectSpecifies the absolute rectangle of the control after all its parent controls clip it.
AbsoluteEnabledSpecifies whether the control is absolutely enabled.
AbsoluteHeightSpecifies the absolute height of the control.
AbsoluteMatrixSpecifies the absolute transformation matrix of the control.
AbsoluteOpacitySpecifies the absolute opacity of the control.
AbsoluteRectSpecifies the absolute rectangle that bounds the control.
AbsoluteScaleSpecifies the absolute scale of the control.
AbsoluteWidthSpecifies the absolute width of the control.
ActionSpecifies the action associated with the control.
ActionClientSpecifies whether the component object has an associated action.
Updates the width and height of this control according to its current style
Determines if and how the width and height of this control should be modified to take the fixed space dictated by the style of this control
AlignSpecifies the alignment options (top, left, client, and so on) of this control.
AnchorsSpecifies how the control is anchored to its parent.
ApplyingEffectA flag that signals when a control is in the process of applying an effect.
AutoCaptureSpecifies whether the control captures mouse events.
Specifies whether the control's text should be translated
AxisAlignedRectA TRectF defined by the width and height of the control.
BoundsRectSpecifies the bounding rectangle of the control.
The length of the visual element that points at the area of interest.
The position of the callout pointer, relative to the center or edges of the side on which it appears.
Defines the side where the callout pointer appears.
A reference to a TCalloutRectangle style object.
The width of the visual element that points at the area of interest.
CanParentFocusSpecifies whether the parent of this control should be evaluated to receive focus.
CanvasProvides the drawing surface of the control.
ChildrenStores an array of children attached to this parent component.
ChildrenCountRead-only property that specifies the number of children in the children list.
ChildrenRectSpecifies the bigger rectangle area occupied by parent and children controls.
ClassNameReturns the TObject.ClassName
ClipChildrenSpecifies if children of the control should be clipped to the control's on-screen region.
ClipParentSpecifies whether the current control has clipped its parent.
ClipRectSpecifies the bound rectangle to be clipped.
ComObjectSpecifies the interface reference implemented by the component.
ComponentCountReturns the owned component count
ComponentIndexIndicates the position of the component in its owner's Components property array.
ComponentStateDescribes the current state of the component, indicating when a component needs to avoid certain actions.
ComponentStyleGoverns the behavior of the component.
ComponentsReturns an iterator over the owned components
ControlTypeControlType:
ControlsReturns an iterator over contained controls
ControlsCountReturns the count of contained controls
CursorImage to use to represent the mouse pointer when it passes into the region covered by the control.
DataStores a Tvalue, which is a data structure that can store different kinds of data types.
DefaultSizeEmbarcadero Technologies does not currently have any additional information.
Returns a string with the name of the default style of this control
DesignInfoContains information used by the Form designer.
DisableDisappearEmbarcadero Technologies does not currently have any additional information.
DisableFocusEffectSpecifies whether the control has the focus effect disabled.
DragModeSpecifies how the control initiates drag-and-drop operations.
EnableDragHighlightSpecifies whether the control is highlighted when the dragged object is over it.
EnabledSpecifies whether the control responds to mouse, keyboard, and timer events.
FixedSizeEmbarcadero Technologies does not currently have any additional information.
HasAfterPaintEffectSpecifies whether the control has an effect that is applied after the control is painted.
HasClipParentControl that is a direct child of this control and has clipped this control.
HasDisablePaintEffectSpecifies whether the control's effect is painted.
HasEffectSpecifies whether the control has an applied effect.
HeightHeight specifies the vertical size of the control (in dp).
HelpContextContains the numeric context ID that identifies the Help topic for the control.
HelpKeywordContains the keyword string that identifies the Help topic for the control.
HelpTypeSpecifies whether the control's context-sensitive Help topic is identified by a context ID or by keyword.
HintSpecifies the text string that appears when the user moves the mouse over a control.
HitTestEnables the control to capture mouse events.
InPaintToSpecifies whether the control is currently being painted.
IndexSpecifies the index of the child object in the children array attached to this object.
InheritedCursorImage used to represent the mouse pointer when it passes into the region covered by the control.
InvertAbsoluteMatrixSpecifies the inverse matrix of AbsoluteMatrix.
IsDragOverSpecifies whether a dragged object is over the area of the current control.
IsFocusedDetermines whether the control has input focus.
IsInflatedWhether the current style of this control has been actually applied to the control.
IsMouseOverSpecifies whether the mouse cursor is over the control.
IsVisibleSpecifies whether the control is visible.
LocalRectSpecifies the local rectangle for painting the control.
LockedSpecifies whether the control is locked at design time.
MarginsAligns the component to the margins points of other components.
ModelDataModel:
NameSpecifies the name of the component as referenced in code.
ObserversIndicates the TObservers object added to the TComponent.
OnCanFocusCallable[[Object, bool], None]:
OnDragDropCallable[[Object, DragObject, PointF], None]:
OnDragEnterCallable[[Object, DragObject, PointF], None]:
OnDragOverCallable[[Object, DragObject, PointF, DragOperation], None]:
OnGestureCallable[[Object, GestureEventInfo, bool], None]:
OnPaintCallable[[Object, Canvas, RectF], None]:
OnPaintingCallable[[Object, Canvas, RectF], None]:
OpacitySpecifies the control opacity.
OwnerReturns the Component Owner
PaddingAligns the component to the padding points of other components.
ParentReturns/Sets the Control Visibility
ParentClassStyleLookupNameThe name of the default style of the parent class of this control.
ParentControlSpecifies the parent control of this control.
ParentShowHintIf True, the value of the ShowHint property of this control inherits the value of the ShowHint property of the parent control.
ParentedRectSpecifies the bounding rectangle of the control within its parent.
ParentedVisibleSpecifies whether all the control's parents are visible.
PopupMenuSpecifies the context (pop-up) menu object.
PositionAligns the component to the position points of other components (Bounds points).
PresentationObject:
PresentationProxyPresentationProxy:
PresentationStatePresentationState:
PressedIndicates whether the control is currently pressed.
PressedPositionA point that indicates where exactly on the control the click occured.
RootSpecifies the root parent of this object.
RotationAngleSpecifies the amount (in degrees) by which the control is rotated from the x-axis.
RotationCenterSpecifies the position of the pivot point of the control.
ScaleSpecifies the scale of the control.
SceneSpecifies the current scene in which the control is drawn.
ShowHintSpecifies whether the Hint can be shown.
SizeSpecifies the vertical and horizontal size (Size.Height and Size.Width) of the control (in pixels).
StoredSpecifies whether this object is stored in the .XFM file.
Specifies the name of the resource object to which the current TStyledControl is linked
StyleNameSpecifies the style name for this FMX component.
This property allows you to define the current state of style
StylesDataValue:
TabOrderIndicates the position of the control in its parent's tab order.
TabStopEmbarcadero Technologies does not currently have any additional information.
TagStores a NativeInt integral value as a part of a component.
TagFloatCustom property that stores any floating-point value.
TagObjectCustom property that stores any object value.
TagStringCustom property that stores any string value.
TouchSpecifies the touch manager component associated with the control.
TouchTargetExpansionSet of optional pixel values you can specify to expand the touch target of a FireMonkey styled control.
UpdateRectSpecifies the rectangle area of the control that needs to be updated.
VCLComObjectRepresents information used internally by components that support COM.
VisibleSpecifies whether the component appears onscreen.
WidthSpecifies the horizontal size of the control (in pixels).
- AdjustSizeValue¶
Updates the width and height of this control according to its current style
- AdjustType¶
Determines if and how the width and height of this control should be modified to take the fixed space dictated by the style of this control
- ApplyStyleLookup()¶
Gets and applies the style of a TStyledControl.
- AutoTranslate¶
Specifies whether the control’s text should be translated
- CalloutLength¶
The length of the visual element that points at the area of interest. By default, TCalloutPanel uses TCalloutRectangle, which renders its callout pointer as an isosceles triangle on one of its sides. CalloutLength is the height of this triangle. The triangle is included in the bounding rectangle ShapeRect of the TCalloutPanel object; therefore, the longer CalloutLength is, the smaller the height (or width) of the callout panel itself is, and vice versa. Keeping the bounding rectangle the same size while changing the length of the triangle CalloutLength requires changing the height or width of the callout panel TCalloutPanel itself, depending on which side the triangle appears.
- Type:
float
- CalloutOffset¶
The position of the callout pointer, relative to the center or edges of the side on which it appears. By default, TCalloutPanel uses TCalloutRectangle, which renders its callout pointer–visual element that points at the area of interest–as an isosceles triangle on one of its sides. The CalloutPosition defines the side on which the triangle appears. CalloutOffset is the offset of the callout pointer implemented according to the following conditions:
If CalloutOffset is zero, then the callout pointer is centered on the specified side. If CalloutOffset is positive, then the closest point to a corner of the callout pointer has the CalloutOffset offset on the following sides: Top–offset to the right from the upper-left corner. Left–offset to the bottom from the upper-left corner. Right–offset to the bottom from the upper-right corner. Bottom–offset to the right from the lower-left corner. If CalloutOffset is negative, then the closest point to a corner of the callout pointer has the CalloutOffset offset on the following sides: Top–offset to the left from the upper-right corner. Left–offset to the top from the lower-left corner. Right–offset to the top from the lower-right corner. Bottom–offset to the left from the lower-right corner.
- Type:
float
- CalloutPosition¶
Defines the side where the callout pointer appears. Set CalloutPosition to one of the Top, Left, Bottom, or Right constants predefined in TCalloutPosition to define the side on which the callout pointer should appear. By default, the callout pointer appears on the top side CalloutPosition = Top. By default, TCalloutPanel uses TCalloutRectangle, which renders its callout pointer–the visual element that points at the area of interest–as an isosceles triangle on one of its four sides.
- Type:
CalloutPosition
- CalloutRectangle¶
A reference to a TCalloutRectangle style object.
- Type:
- CalloutWidth¶
The width of the visual element that points at the area of interest. By default, TCalloutPanel uses TCalloutRectangle, which renders its callout pointer as an isosceles triangle on one of its sides. CalloutWidth is the length of the base of the triangle.
- Type:
float
- DefaultStyleLookupName¶
Returns a string with the name of the default style of this control
- Inflate()¶
Call this procedure to get and apply its style lookup.
- NeedStyleLookup()¶
Call this procedure to indicate that this control requires to get and apply its style lookup.
- StyleLookup¶
Specifies the name of the resource object to which the current TStyledControl is linked
- StyleState¶
This property allows you to define the current state of style