FMX.DateTimeCtrls.TCustomDateTimeEdit.ShowContextMenu

From RAD Studio API Documentation

Delphi

function ShowContextMenu(const ScreenPosition: TPointF): Boolean; override;

C++

virtual bool __fastcall ShowContextMenu(const System::Types::TPointF &ScreenPosition);

Properties

Type Visibility Source Unit Parent
function protected
FMX.DateTimeCtrls.pas
FMX.DateTimeCtrls.hpp
FMX.DateTimeCtrls TCustomDateTimeEdit

Description

Displays the PopupMenu context menu of this control on the specified ScreenPosition screen point. {{#multireplace:FMX.DateTimeCtrls.TCustomDateTimeEdit.ShowContextMenu|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.ShowContextMenu|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls.TControl.ShowContextMenu|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Displays the PopupMenu context menu of this control on the specified ScreenPosition screen point.

ShowContextMenu returns True if PopupMenu was successfully displayed. Otherwise, ShowContextMenu returns False.

To set or get a context (pop-up) menu for the current control, use the PopupMenu property.

Descendants can override this method. For example, descendants can show a default context menu if PopupMenu = nil.

See Also