CustomPopupMenu¶
Qualified name: delphifmx.CustomPopupMenu
- class CustomPopupMenu¶
Bases:
FmxObjectRepresents a pop-up menu attachable to graphical controls that support pop-up menus. The TTextService virtual abstract class represents a pop-up context menu that can be attached to any FireMonkey graphical control that support pop-up menus, such as TImageControl, TPanel, and so on.
Methods
TCustomPopupMenu.Popup(X: float, Y: float) -> None Displays the pop-up menu onscreen.
Attributes
ActionClientSpecifies whether the component object has an associated action.
ChildrenStores an array of children attached to this parent component.
ChildrenCountRead-only property that specifies the number of children in the children list.
ClassNameReturns the TObject.ClassName
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
DataStores a Tvalue, which is a data structure that can store different kinds of data types.
DesignInfoContains information used by the Form designer.
IndexSpecifies the index of the child object in the children array attached to this object.
NameSpecifies the name of the component as referenced in code.
ObserversIndicates the TObservers object added to the TComponent.
OwnerReturns the Component Owner
Returns/Sets the Control Visibility
Specifies the control for which the current object is a context menu.
RootSpecifies the root parent of this object.
StoredSpecifies whether this object is stored in the .XFM file.
StyleNameSpecifies the style name for this FMX component.
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.
VCLComObjectRepresents information used internally by components that support COM.
- Parent¶
Returns/Sets the Control Visibility
- Popup(X: float, Y: float) → None¶
Displays the pop-up menu onscreen. TCustomPopupMenu descendants implement Popup so that it brings up the pop-up menu onscreen. The menu appears at the screen coordinates indicated by the values (in pixels) of X and Y.